2022-12-04 13:45:43 +00:00
|
|
|
{
|
|
|
|
inputs,
|
|
|
|
tree,
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
2022-03-09 19:42:28 +00:00
|
|
|
with lib; {
|
|
|
|
options.home-manager.users = mkOption {
|
|
|
|
type = types.attrsOf (types.submoduleWith {
|
2022-12-04 13:45:43 +00:00
|
|
|
modules = [];
|
2022-03-09 19:42:28 +00:00
|
|
|
specialArgs = {
|
|
|
|
inherit inputs tree;
|
|
|
|
nixos = config;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
};
|
|
|
|
config = {
|
|
|
|
home-manager = {
|
|
|
|
useGlobalPkgs = true;
|
2022-03-09 20:10:19 +00:00
|
|
|
#useUserPackages = true;
|
2022-03-09 19:42:28 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|