containers: fix for NixOS 26.05
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user