From 31e3b526f1c2aba83dafc60ec3ef7f19c0f5253d Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Sun, 3 Dec 2023 21:45:19 +0100 Subject: [PATCH] use ip --- hosts/fw.cloonar.com/modules/gitea.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hosts/fw.cloonar.com/modules/gitea.nix b/hosts/fw.cloonar.com/modules/gitea.nix index de86187..6d4b43c 100644 --- a/hosts/fw.cloonar.com/modules/gitea.nix +++ b/hosts/fw.cloonar.com/modules/gitea.nix @@ -103,7 +103,7 @@ in # macvlans = [ "vserver" ]; privateNetwork = true; hostBridge = "server"; - localAddress = "10.42.97.1/24"; + localAddress = "10.42.97.2/24"; bindMounts = { "/var/lib/gitea" = { hostPath = "/var/lib/gitea/"; @@ -118,10 +118,10 @@ in }; config = { lib, config, pkgs, ... }: { networking = { - hostName = "fw"; + hostName = "gitea"; interfaces.eth0 = { useDHCP = true; - ipv4.addresses = [ { address = "10.42.97.2"; prefixLength = 24; } ]; + # ipv4.addresses = [ { address = "10.42.97.2"; prefixLength = 24; } ]; }; # firewall = { # enable = true;