diff --git a/hosts/server/configuration.nix b/hosts/server/configuration.nix index 71c40db..d7b6441 100644 --- a/hosts/server/configuration.nix +++ b/hosts/server/configuration.nix @@ -17,7 +17,13 @@ }; # Networking - networking.hostName = config.var.hostname; + networking = { + hostName = config.var.hostname; + interfaces.eth0.ipv4.addresses = [{ + address = "192.168.2.100"; + prefixLength = 24; + }]; + }; # Timezone and locale time.timeZone = config.var.timeZone;