fix(home): make stateVersion overridable
All checks were successful
Check / eval (push) Successful in 3m1s

Changed home.stateVersion assignment to use lib.mkDefault instead of a plain assignment.
This fixes downstream flakes that need to migrate existing NixOS installations without bumping their state version.

Verified: V1 (flake check --no-build, home activation package build).
Pending: nothing.
This commit is contained in:
Bernardo Magri
2026-07-08 21:44:31 +01:00
parent b1a9d2ea66
commit 3dcbb2b0b6
3 changed files with 9 additions and 10 deletions

View File

@@ -48,7 +48,7 @@
createDirectories = lib.mkDefault true;
};
home.stateVersion = "26.05";
home.stateVersion = lib.mkDefault "26.05";
home.packages = with pkgs; [
awww # wallpaper daemon with animated transitions (the swww fork)