infrastructure/config/profiles/base/home.nix
2021-09-02 03:13:24 +01:00

23 lines
455 B
Nix

{ meta, config, lib, sources, tf, ... }:
with lib;
{
options.home-manager.users = mkOption {
type = types.attrsOf (types.submoduleWith {
modules = singleton meta.modules.home;
specialArgs = {
inherit sources tf meta;
nixos = config;
modulesPath = sources.home-manager + "/modules";
};
});
};
config = {
home-manager = {
useUserPackages = true;
useGlobalPkgs = true;
};
};
}