hosts/palladium: Migrate to systemd-network
This commit is contained in:
parent
3deb7383e1
commit
2f84edcd99
@ -31,12 +31,16 @@
|
|||||||
boot.swraid.enable = true;
|
boot.swraid.enable = true;
|
||||||
|
|
||||||
networking.useDHCP = false;
|
networking.useDHCP = false;
|
||||||
networking.interfaces.enp3s0.ipv6.addresses = [
|
systemd.network.enable = true;
|
||||||
{ address = "fd00:152:152:4::11"; prefixLength = 64; }
|
|
||||||
{ address = "2001:4cd8:100:1337::11"; prefixLength = 64; }
|
systemd.network.networks."10-wan" = {
|
||||||
];
|
matchConfig.Name = "enp3s0";
|
||||||
networking.defaultGateway6 = { address = "fe80::1"; interface = "enp3s0"; };
|
address = [
|
||||||
networking.nameservers = [ "fd00:152:152::1" ];
|
"fd00:152:152:4::11/64"
|
||||||
|
];
|
||||||
|
networkConfig.DHCP = true;
|
||||||
|
linkConfig.RequiredForOnline = "routable";
|
||||||
|
};
|
||||||
|
|
||||||
# Keeping the harddrives quiet
|
# Keeping the harddrives quiet
|
||||||
services.udev.extraRules = ''
|
services.udev.extraRules = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user