renge: Use networkd
This commit is contained in:
parent
91e739c91b
commit
1a78049a7a
|
@ -46,16 +46,17 @@
|
||||||
networking = {
|
networking = {
|
||||||
useDHCP = false;
|
useDHCP = false;
|
||||||
usePredictableInterfaceNames = false;
|
usePredictableInterfaceNames = false;
|
||||||
interfaces.eth0 = {
|
|
||||||
useDHCP = true;
|
|
||||||
ipv6.addresses = lib.singleton {
|
|
||||||
address = "2a01:4f8:1c1e:88cd::";
|
|
||||||
prefixLength = 64;
|
|
||||||
};
|
};
|
||||||
|
systemd.network = {
|
||||||
|
enable = true;
|
||||||
|
networks = {
|
||||||
|
eth0 = {
|
||||||
|
name = "eth0";
|
||||||
|
DHCP = "yes";
|
||||||
|
domains = [ "sbruder.de" ];
|
||||||
|
address = [ "2a01:4f8:1c1e:88cd::/64" ];
|
||||||
|
gateway = [ "fe80::1" ];
|
||||||
};
|
};
|
||||||
defaultGateway6 = {
|
|
||||||
address = "fe80::1";
|
|
||||||
interface = "eth0";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue