home: Raise stateVersion and drop dead nix.package guards
Every managed home already had its stateVersion force-set per home-manager branch (22.11 for stable/mine-stable, 23.05 otherwise); pin them all to 23.05. With the floor at 23.05 the `versionAtLeast config.home.stateVersion` guards on `nix.package` are always taken, so drop them. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -107,7 +107,7 @@ rec {
|
||||
then throw "\nFailed assertions:\n${concatStringsSep "\n" (map (x: "- ${x}") failedAssertions)}"
|
||||
else showWarnings config.warnings res;
|
||||
|
||||
homeStateVersion' = hmBranch: (if (hmBranch == "stable" || hmBranch == "mine-stable") then "22.11" else "23.05");
|
||||
homeStateVersion' = hmBranch: "23.05";
|
||||
homeStateVersion = hmBranch: {
|
||||
# The flake passes a default setting, but we don't care about that
|
||||
home.stateVersion = mkForce (homeStateVersion' hmBranch);
|
||||
|
||||
Reference in New Issue
Block a user