diff --git a/hosts/greddost/configuration.nix b/hosts/greddost/configuration.nix index c3cd78b..2a4cfda 100644 --- a/hosts/greddost/configuration.nix +++ b/hosts/greddost/configuration.nix @@ -47,7 +47,26 @@ networking.hostName = "greddost"; # Define your hostname. - networking.interfaces.ens18.useDHCP = true; + networking.interfaces.ens18.useDHCP = false; + + networking.defaultGateway = "129.241.210.129"; + networking.interfaces.ens18.ipv4 = { + addresses = [ + { + address = "129.241.210.174"; + prefixLength = 25; + } + ]; + }; + networking.interfaces.ens18.ipv6 = { + addresses = [ + { + address = "2001:700:300:1900::174"; + prefixLength = 64; + } + ]; + }; + networking.nameservers = [ "129.241.0.200" "129.241.0.201" ]; # Open ports in the firewall. networking.firewall.allowedTCPPorts = [ 25565 ];