containers: fix for NixOS 26.05

This commit is contained in:
Jonas Nick
2026-08-08 06:54:06 +00:00
parent e8328251af
commit 8f7dcb6e2a
7 changed files with 49 additions and 3 deletions
+3
View File
@@ -31,6 +31,9 @@
# legacyInstallDirs = true;
config = {
# See the file for why this is needed and when it can be removed
imports = [ (nix-bitcoin.outPath + "/test/lib/extra-container-workaround.nix") ];
containers.mynode = {
# Always start container along with the container host
autoStart = true;
+2
View File
@@ -75,6 +75,8 @@ fi
#
read -rd '' src <<EOF || true
{ pkgs, lib, ... }: {
imports = [ $(realpath "${BASH_SOURCE[0]%/*}"/../test/lib/extra-container-workaround.nix) ];
containers.demo-node = {
extra.addressPrefix = "10.250.0";
extra.enableWAN = true;