main
nix 19 lines 316 Bytes
Raw
1 {
2 networking.useDHCP = false;
3
4 systemd.network = {
5 enable = true;
6 networks = {
7 "99-autoconfig" = {
8 matchConfig = {
9 Kind = "!*";
10 Type = "ether";
11 };
12 networkConfig = {
13 DHCP = "yes";
14 IPv6AcceptRA = true;
15 };
16 };
17 };
18 };
19 }