summaryrefslogtreecommitdiff
path: root/hosts/poweredge/gitea.nix
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2026-06-14 13:39:16 -0500
committerTim Keller <tjk@tjkeller.xyz>2026-06-14 13:39:16 -0500
commit6451ea9aee5adb416570e6756402303d0c2e3554 (patch)
treebfa912f647768ff6dc638fa047547ea7b396e497 /hosts/poweredge/gitea.nix
parentee78434183f94624fb25640a76b571c00e67e1b0 (diff)
downloadnixos-6451ea9aee5adb416570e6756402303d0c2e3554.tar.xz
nixos-6451ea9aee5adb416570e6756402303d0c2e3554.zip
fix default gateway for router and assign mac addresses for all containers
Diffstat (limited to 'hosts/poweredge/gitea.nix')
-rw-r--r--hosts/poweredge/gitea.nix10
1 files changed, 4 insertions, 6 deletions
diff --git a/hosts/poweredge/gitea.nix b/hosts/poweredge/gitea.nix
index c7a4c70..2d8b37f 100644
--- a/hosts/poweredge/gitea.nix
+++ b/hosts/poweredge/gitea.nix
@@ -2,20 +2,18 @@
containers.gitea = {
autoStart = true;
privateNetwork = true;
- extraVeths.vb-gitea = {
- hostBridge = "br-lan0";
- #localMacAddress = "02:00:00:00:00:03"; # TODO update to 26.05
- };
+ hostBridge = "br-lan0";
+ localMacAddress = "02:00:00:00:00:03";
config = { lib, pkgs, config, ... }: {
# Network
- networking.interfaces.vb-gitea.useDHCP = true;
+ networking.interfaces.eth0.useDHCP = true;
networking.firewall.allowedTCPPorts = [ 80 22 ]; # Caddy + ssh
# Gitea
services.gitea = {
enable = true;
- user = "git"; # So ssh cloning uses git@gitea
+ #user = "git"; # So ssh cloning uses git@gitea
};
# Reverse proxy