From f3263cda61739944220ba5470be268d5af3c91e0 Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Sun, 3 Dec 2023 20:36:48 +0100 Subject: [PATCH] try gitea container --- hosts/fw.cloonar.com/modules/gitea.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/fw.cloonar.com/modules/gitea.nix b/hosts/fw.cloonar.com/modules/gitea.nix index 4a46f86..fb49e36 100644 --- a/hosts/fw.cloonar.com/modules/gitea.nix +++ b/hosts/fw.cloonar.com/modules/gitea.nix @@ -98,7 +98,9 @@ in # }; containers.gitea = { + extraFlags = [ "-U" ]; autoStart = true; + empheral = true; privateNetwork = true; hostBridge = "server"; localAddress = "10.42.97.2/24"; @@ -154,6 +156,7 @@ in system.stateVersion = "23.05"; networking = { + interfaces."eth0".useDHCP = true; firewall = { enable = true; allowedTCPPorts = [ 22 80 443 ];