hosts/palladium: Migrate to systemd-network
This commit is contained in:
parent
3deb7383e1
commit
2f84edcd99
@ -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 = ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user