diff --git a/configuration.nix b/configuration.nix index f03d7ce..c895fae 100644 --- a/configuration.nix +++ b/configuration.nix @@ -20,6 +20,12 @@ networkmanager.enable = true; # firewall.allowedTCPPorts = [ 80 443 ]; # firewall.allowedUDPPorts = [ ... ]; + interfaces.ens18.ipv4.addresses = [ { + address = "10.0.0.100"; + prefixLength = 24; + } ]; + defaultGateway = "10.0.0.1"; + nameservers = [ "10.0.0.1" ]; }; # Set your time zone.