diff --git a/hosts/crocus/default.nix b/hosts/crocus/default.nix index 640fcda..6111baf 100644 --- a/hosts/crocus/default.nix +++ b/hosts/crocus/default.nix @@ -12,7 +12,19 @@ ]; networking.hostName = "crocus"; - networking.useDHCP = true; + + networking.useDHCP = false; + systemd.network.enable = true; + systemd.network.networks."10-wan" = { + matchConfig.Name = "enp1s0"; + networkConfig.DHCP = "ipv4"; + address = [ + "2a01:4f8:1c1e:e415::1/64" + ]; + routes = [ + { Gateway = "fe80::1"; } + ]; + }; boot.loader.grub = { efiSupport = true;