Update nixpkgs and home-manager

This commit is contained in:
2022-07-10 14:15:12 +01:00
parent c68a48eb34
commit 3d49672740
3 changed files with 42 additions and 82 deletions

View File

@@ -88,11 +88,10 @@ 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.05" else "22.11");
homeStateVersion = hmBranch: {
# The flake passes a default setting, but we don't care about that
# Currently don't need any logic here, but we might need to use a newer version later
#home.stateVersion = mkForce (if (hmBranch == "stable" || hmBranch == "mine-stable") then "22.05" else "22.11");
home.stateVersion = mkForce "22.05";
home.stateVersion = mkForce (homeStateVersion' hmBranch);
};
commonOpts = with types; {