diff --git a/hosts/palladium/configuration.nix b/hosts/palladium/configuration.nix index d3bd29e..7ac2f64 100644 --- a/hosts/palladium/configuration.nix +++ b/hosts/palladium/configuration.nix @@ -31,12 +31,16 @@ boot.swraid.enable = true; networking.useDHCP = false; - networking.interfaces.enp3s0.ipv6.addresses = [ - { address = "fd00:152:152:4::11"; prefixLength = 64; } - { address = "2001:4cd8:100:1337::11"; prefixLength = 64; } - ]; - networking.defaultGateway6 = { address = "fe80::1"; interface = "enp3s0"; }; - networking.nameservers = [ "fd00:152:152::1" ]; + systemd.network.enable = true; + + systemd.network.networks."10-wan" = { + matchConfig.Name = "enp3s0"; + address = [ + "fd00:152:152:4::11/64" + ]; + networkConfig.DHCP = true; + linkConfig.RequiredForOnline = "routable"; + }; # Keeping the harddrives quiet services.udev.extraRules = ''