fix: default podman network

This commit is contained in:
2026-08-17 14:20:09 +02:00
parent 6c9cb7b0e7
commit f06c9164e8
3 changed files with 88 additions and 3 deletions
@@ -12,10 +12,10 @@
];
system.activationScripts.createPodmanNetworkWeb = lib.mkAfter ''
if ! /run/current-system/sw/bin/podman network exists web; then
/run/current-system/sw/bin/podman network create web --subnet=10.89.0.0/24 --internal
/run/current-system/sw/bin/podman network create web --subnet=10.89.0.0/24
fi
if ! /run/current-system/sw/bin/podman network exists web-dev; then
/run/current-system/sw/bin/podman network create web-dev --subnet=10.89.1.0/24 --internal
/run/current-system/sw/bin/podman network create web-dev --subnet=10.89.1.0/24
fi
'';
}