nixfiles/profiles/base/home.nix

20 lines
437 B
Nix
Raw Normal View History

2022-11-11 16:32:26 +00:00
{ inputs, tree, config, pkgs, lib, ... }:
2021-12-26 14:07:09 +00:00
with lib; {
2021-12-20 23:48:26 +00:00
options.home-manager.users = mkOption {
type = types.attrsOf (types.submoduleWith {
modules = [ ];
specialArgs = {
inherit inputs tree;
nixos = config;
};
});
};
config = {
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
2022-11-11 16:32:26 +00:00
sharedModules = with tree; [ modules.home.vscode-mod-module ];
2021-12-20 23:48:26 +00:00
};
};
}