summaryrefslogtreecommitdiff
path: root/hosts/poweredge/immich.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/immich.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/immich.nix')
-rw-r--r--hosts/poweredge/immich.nix8
1 files changed, 3 insertions, 5 deletions
diff --git a/hosts/poweredge/immich.nix b/hosts/poweredge/immich.nix
index a98595e..b65d05d 100644
--- a/hosts/poweredge/immich.nix
+++ b/hosts/poweredge/immich.nix
@@ -2,10 +2,8 @@
containers.immich = {
autoStart = true;
privateNetwork = true;
- extraVeths.vb-immich = {
- hostBridge = "br-lan0";
- #localMacAddress = "02:00:00:00:00:01"; # TODO update to 26.05
- };
+ hostBridge = "br-lan0";
+ localMacAddress = "02:00:00:00:00:01";
# Host path
bindMounts = {
@@ -34,7 +32,7 @@
config = { lib, pkgs, config, ... }: {
# Network
- networking.interfaces.vb-immich.useDHCP = true;
+ networking.interfaces.eth0.useDHCP = true;
networking.firewall.allowedTCPPorts = [ 80 ]; # Caddy
# Immich