From bae3bb97fdda68b2c7521f7ba2d04789e89b39a4 Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Sun, 3 Dec 2023 21:26:50 +0100 Subject: [PATCH] fix ip --- hosts/fw.cloonar.com/modules/gitea.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/fw.cloonar.com/modules/gitea.nix b/hosts/fw.cloonar.com/modules/gitea.nix index 6ff4ef3..629fd6f 100644 --- a/hosts/fw.cloonar.com/modules/gitea.nix +++ b/hosts/fw.cloonar.com/modules/gitea.nix @@ -116,7 +116,10 @@ in config = { lib, config, pkgs, ... }: { networking = { hostName = "fw"; - interfaces.mv-vserver.useDHCP = true; + interfaces.mv-vserver = { + useDHCP = true; + ipv4.addresses = [ { address = "10.42.97.2"; prefixLength = 24; } ]; + }; # firewall = { # enable = true; # allowedTCPPorts = [ 22 80 443 ];