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:
parent
c50599339c
commit
cdbb1852b1
@ -10,5 +10,8 @@
|
|||||||
xdg.configFile."nix/registry.json".text =
|
xdg.configFile."nix/registry.json".text =
|
||||||
config.environment.etc."nix/registry.json".text;
|
config.environment.etc."nix/registry.json".text;
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
home.stateVersion = "22.11";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -4,4 +4,5 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [ (lib.importExportableModules ./modules) ];
|
imports = [ (lib.importExportableModules ./modules) ];
|
||||||
|
home.stateVersion = "22.05";
|
||||||
}
|
}
|
||||||
|
@ -12,4 +12,5 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
users = lib.rakeLeaves ./users;
|
users = lib.rakeLeaves ./users;
|
||||||
|
home.stateVersion = "22.05";
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,6 @@ let
|
|||||||
{
|
{
|
||||||
home = {
|
home = {
|
||||||
inherit username homeDirectory;
|
inherit username homeDirectory;
|
||||||
stateVersion = "22.05";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
] ++ config.home.exportedModules
|
] ++ config.home.exportedModules
|
||||||
|
Loading…
Reference in New Issue
Block a user