diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2026-06-14 13:39:16 -0500 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2026-06-14 13:39:16 -0500 |
| commit | 6451ea9aee5adb416570e6756402303d0c2e3554 (patch) | |
| tree | bfa912f647768ff6dc638fa047547ea7b396e497 /hosts/poweredge/gitea.nix | |
| parent | ee78434183f94624fb25640a76b571c00e67e1b0 (diff) | |
| download | nixos-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.nix | 10 |
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 |
