move state versions to option (mainly for hm state version per device without forcing every device to use hm module)

This commit is contained in:
twoneis 2024-07-11 15:08:00 +02:00
parent 16859b559b
commit fdc6c1945e
9 changed files with 27 additions and 11 deletions

View file

@ -1,4 +1,4 @@
{ ... }: {
{ config, ... }: {
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
@ -7,6 +7,8 @@
home = {
username = "twoneis";
homeDirectory = "/home/twoneis";
stateVersion = config.hmStateVersion;
};
programs.home-manager.enable = true;