diff --git a/hosts/heimdall/configuration.nix b/hosts/heimdall/configuration.nix index aa23730..3e4af90 100644 --- a/hosts/heimdall/configuration.nix +++ b/hosts/heimdall/configuration.nix @@ -23,5 +23,19 @@ pkgs.gitMinimal ]; + networking.useNetworkd = true; + systemd.network.enable = true; + systemd.network.networks."10-wan" = { + matchConfig.Name = "enp1s0"; # either ens3 or enp1s0 depending on system, check 'ip addr' + networkConfig.DHCP = "ipv4"; + address = [ + # replace this address with the one assigned to your instance + "2a01:4f9:c010:c279::1/64" + ]; + routes = [ + {Gateway = "fe80::1";} + ]; + }; + system.stateVersion = "24.05"; }