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:
@@ -2,7 +2,7 @@
|
||||
let
|
||||
inherit (builtins) listToAttrs mapAttrs readFile;
|
||||
inherit (lib)
|
||||
optionalString nameValuePair concatMapStrings concatStringsSep optionalAttrs versionAtLeast
|
||||
optionalString nameValuePair concatMapStrings concatStringsSep optionalAttrs
|
||||
mapAttrsToList mkMerge mkIf mkDefault mkOption;
|
||||
inherit (lib.hm) dag;
|
||||
inherit (lib.my) mkOpt' dummyOption;
|
||||
@@ -50,7 +50,6 @@ in
|
||||
};
|
||||
|
||||
nix = {
|
||||
package = mkIf (!(versionAtLeast config.home.stateVersion "22.11")) pkgs.nix;
|
||||
settings = with lib.my.c.nix; {
|
||||
experimental-features = [ "nix-command" "flakes" "ca-derivations" ];
|
||||
max-jobs = mkDefault "auto";
|
||||
@@ -257,7 +256,7 @@ in
|
||||
ssh.authKeys.files = [ lib.my.c.sshKeyFiles.me ];
|
||||
};
|
||||
|
||||
nix.package = mkIf (versionAtLeast config.home.stateVersion "22.05") pkgs.nix;
|
||||
nix.package = pkgs.nix;
|
||||
|
||||
fonts.fontconfig.enable = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user