diff --git a/hosts/Emitter.nix b/hosts/Emitter.nix index 3f5cdaf..9600757 100644 --- a/hosts/Emitter.nix +++ b/hosts/Emitter.nix @@ -10,8 +10,60 @@ networking.hostName = "Emitter"; + networking.tempAddresses = "disabled"; networking.useDHCP = false; - networking.interfaces.ens3.useDHCP = true; + networking = { + defaultGateway = { + address = "2.59.133.1"; + interface = "ens3"; + }; + defaultGateway6 = { + address = "2a0d:5940:7::1"; + interface = "ens3"; + }; + nameservers = [ + "9.9.9.10" + "8.8.8.8" + "2606:4700:4700::1111" + "2001:4860:4860::8888" + ]; + interfaces.ens3 = { + ipv4 = { + addresses = [ + { + address = "2.59.133.12"; + prefixLength = 24; + } + ]; + routes = [ + { + address = "2.59.133.0"; + prefixLength = 24; + via = "2.59.133.1"; + } + ]; + }; + ipv6 = { + addresses = [ + { + address = "2a0d:5940:7:16f:216:3cff:fe63:9a54"; + prefixLength = 64; + } + { + address = "fe80::216:3cff:fe63:9a54"; + prefixLength = 64; + } + ]; + routes = [ + { + address = "2a0d:5940:7:16f:216:3cff:fe63:9a54"; + prefixLength = 64; + via = "2a0d:5940:7::1"; + } + ]; + }; + }; + }; i18n.defaultLocale = "de_DE.UTF-8"; console.keyMap = "de";