From 44ec8a5129642fefdad5f636b7f81692125dbbca Mon Sep 17 00:00:00 2001 From: Tom Date: Fri, 9 Aug 2024 09:03:13 +0200 Subject: [PATCH] Fixed ip --- configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) 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.