diff --git a/dev/README.md b/dev/README.md index 23ede16..e17e76b 100644 --- a/dev/README.md +++ b/dev/README.md @@ -97,5 +97,5 @@ It's easiest to use an existing service as a template: Most other services use packages that are already included in nixpkgs. ## Switching to a new NixOS release -- Run command `update-flake.sh 25.11` +- Run command `update-flake.sh 26.05` - Treewide: check if any `TODO-EXTERNAL` comments can be resolved diff --git a/dev/dev.sh b/dev/dev.sh index 125561c..2e50447 100644 --- a/dev/dev.sh +++ b/dev/dev.sh @@ -82,6 +82,7 @@ read -rd '' src <<'EOF' || : inherit (nix-bitcoin.inputs) nixpkgs; # legacyInstallDirs = true; config = { + imports = [ ../test/lib/extra-container-workaround.nix ]; containers.nb-adhoc = { # bindMounts."/shared" = { hostPath = "/my/hostpath"; isReadOnly = false; }; extra.addressPrefix = "10.200.255"; diff --git a/examples/configuration.nix b/examples/configuration.nix index c942de9..2728495 100644 --- a/examples/configuration.nix +++ b/examples/configuration.nix @@ -324,7 +324,7 @@ # this value at the release version of the first install of this system. # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). - system.stateVersion = "25.11"; # Did you read the comment? + system.stateVersion = "26.05"; # Did you read the comment? # The nix-bitcoin release version that your config is compatible with. # When upgrading to a backwards-incompatible release, nix-bitcoin will display an diff --git a/examples/container/flake.nix b/examples/container/flake.nix index 137f2d4..e20e4b2 100644 --- a/examples/container/flake.nix +++ b/examples/container/flake.nix @@ -12,7 +12,7 @@ inputs = { nix-bitcoin.url = "github:fort-nix/nix-bitcoin/release"; # You can also use a version branch to track a specific NixOS release - # nix-bitcoin.url = "github:fort-nix/nix-bitcoin/nixos-25.11"; + # nix-bitcoin.url = "github:fort-nix/nix-bitcoin/nixos-26.05"; nixpkgs.follows = "nix-bitcoin/nixpkgs"; nixpkgs-unstable.follows = "nix-bitcoin/nixpkgs-unstable"; @@ -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; diff --git a/examples/deploy-container.sh b/examples/deploy-container.sh index 9ec0bc1..8a9bb9d 100755 --- a/examples/deploy-container.sh +++ b/examples/deploy-container.sh @@ -75,6 +75,8 @@ fi # read -rd '' src <