1
1
mirror of https://github.com/divnix/digga.git synced 2025-01-03 13:56:36 +03:00

hm: set home.stateVersion in configuration or shared modules

This commit is contained in:
Chris Montgomery 2022-07-11 21:26:33 -04:00 committed by GTrunSec
parent c50599339c
commit cdbb1852b1
No known key found for this signature in database
GPG Key ID: 2368FAFA4ABDD2A0
4 changed files with 5 additions and 1 deletions

View File

@ -10,5 +10,8 @@
xdg.configFile."nix/registry.json".text =
config.environment.etc."nix/registry.json".text;
}
{
home.stateVersion = "22.11";
}
];
}

View File

@ -4,4 +4,5 @@ let
in
{
imports = [ (lib.importExportableModules ./modules) ];
home.stateVersion = "22.05";
}

View File

@ -12,4 +12,5 @@ in
};
};
users = lib.rakeLeaves ./users;
home.stateVersion = "22.05";
}

View File

@ -26,7 +26,6 @@ let
{
home = {
inherit username homeDirectory;
stateVersion = "22.05";
};
}
] ++ config.home.exportedModules