fix system.stateVersion

This commit is contained in:
Jörg Thalheim
2025-02-14 12:13:36 +07:00
parent f8bf39e43a
commit d3bd120a04
10 changed files with 35 additions and 29 deletions

View File

@@ -7,14 +7,17 @@ in
(nixos-lib.runTest {
hostPkgs = pkgs;
# speed-up evaluation
defaults = {
imports = [
./minify.nix
];
documentation.enable = lib.mkDefault false;
nix.settings.min-free = 0;
system.stateVersion = lib.version;
};
defaults = (
{ config, ... }:
{
imports = [
./minify.nix
];
documentation.enable = lib.mkDefault false;
nix.settings.min-free = 0;
system.stateVersion = config.system.nixos.release;
}
);
# to accept external dependencies such as disko
node.specialArgs.self = self;