try gitea container

This commit is contained in:
2023-12-03 20:36:48 +01:00
parent cac9721b0c
commit f3263cda61

View File

@@ -98,7 +98,9 @@ in
# }; # };
containers.gitea = { containers.gitea = {
extraFlags = [ "-U" ];
autoStart = true; autoStart = true;
empheral = true;
privateNetwork = true; privateNetwork = true;
hostBridge = "server"; hostBridge = "server";
localAddress = "10.42.97.2/24"; localAddress = "10.42.97.2/24";
@@ -154,6 +156,7 @@ in
system.stateVersion = "23.05"; system.stateVersion = "23.05";
networking = { networking = {
interfaces."eth0".useDHCP = true;
firewall = { firewall = {
enable = true; enable = true;
allowedTCPPorts = [ 22 80 443 ]; allowedTCPPorts = [ 22 80 443 ];