20 lines
437 B
Nix
20 lines
437 B
Nix
{ inputs, tree, config, pkgs, lib, ... }:
|
|
with lib; {
|
|
options.home-manager.users = mkOption {
|
|
type = types.attrsOf (types.submoduleWith {
|
|
modules = [ ];
|
|
specialArgs = {
|
|
inherit inputs tree;
|
|
nixos = config;
|
|
};
|
|
});
|
|
};
|
|
config = {
|
|
home-manager = {
|
|
useGlobalPkgs = true;
|
|
useUserPackages = true;
|
|
sharedModules = with tree; [ modules.home.vscode-mod-module ];
|
|
};
|
|
};
|
|
}
|