diff --git a/modules/hmgr/default.nix b/modules/hmgr/default.nix index 0c9e32b..1935663 100644 --- a/modules/hmgr/default.nix +++ b/modules/hmgr/default.nix @@ -9,14 +9,15 @@ with lib; }; config = { + home-manager.useGlobalPkgs = true; home-manager.users = lib.mapAttrs (name: value: { - imports = with builtins; (map (x: ../../home-manager-modules + "/${x}/default.nix") (attrNames (readDir ../../home-manager-modules))); + imports = with builtins; (map (x: ../../home-manager-modules + "/${x}/default.nix") (attrNames (readDir ../../home-manager-modules))); home.username = "${name}"; home.homeDirectory = "/home/${name}"; - home.stateVersion = "21.11"; + home.stateVersion = "21.05"; } // value) cfg; };