renge: Use networkd

This commit is contained in:
Simon Bruder 2023-04-11 11:44:59 +02:00
parent 91e739c91b
commit 1a78049a7a
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -46,17 +46,18 @@
networking = { networking = {
useDHCP = false; useDHCP = false;
usePredictableInterfaceNames = false; usePredictableInterfaceNames = false;
interfaces.eth0 = { };
useDHCP = true; systemd.network = {
ipv6.addresses = lib.singleton { enable = true;
address = "2a01:4f8:1c1e:88cd::"; networks = {
prefixLength = 64; eth0 = {
name = "eth0";
DHCP = "yes";
domains = [ "sbruder.de" ];
address = [ "2a01:4f8:1c1e:88cd::/64" ];
gateway = [ "fe80::1" ];
}; };
}; };
defaultGateway6 = {
address = "fe80::1";
interface = "eth0";
};
}; };
# no smart on qemu disk # no smart on qemu disk