diff --git a/machines/Ophanim/hardware-configuration.nix b/machines/Ophanim/hardware-configuration.nix index 5f05b91..81451cf 100644 --- a/machines/Ophanim/hardware-configuration.nix +++ b/machines/Ophanim/hardware-configuration.nix @@ -107,7 +107,21 @@ # (the default) this is the recommended approach. When using systemd-networkd it's # still possible to use this option, but it's recommended to use it in conjunction # with explicit per-interface declarations with `networking.interfaces..useDHCP`. - networking.useDHCP = lib.mkDefault true; + networking = { + useDHCP = lib.mkDefault true; + interfaces = { + ens3.ipv6.addresses = [ + { + address = "2a0a:4cc0:c0:101::1"; + prefixLength = 64; + } + ]; + }; + defaultGateway6 = { + address = "fe80::1"; + interface = "ens3"; + }; + }; time.timeZone = "Europe/Berlin"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";