disable state-version in right place

This commit is contained in:
Jörg Thalheim
2025-08-31 15:35:55 +02:00
parent 0b1c12d2e5
commit a0c27194a6
3 changed files with 3 additions and 4 deletions

View File

@@ -14,6 +14,8 @@ let
self.nixosModules.installer
];
# We don't need state-version in a live installer, we can just set nixos.release directly
clan.core.settings.state-version.enable = false;
system.stateVersion = config.system.nixos.release;
nixpkgs.pkgs = self.inputs.nixpkgs.legacyPackages.x86_64-linux;