mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
23 lines
456 B
Nix
23 lines
456 B
Nix
{ meta, config, lib, sources, tf, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
options.home-manager.users = mkOption {
|
|
type = types.attrsOf (types.submoduleWith {
|
|
modules = singleton ../../modules/home;
|
|
specialArgs = {
|
|
inherit sources tf meta;
|
|
nixos = config;
|
|
modulesPath = sources.home-manager + "/modules";
|
|
};
|
|
});
|
|
};
|
|
|
|
config = {
|
|
home-manager = {
|
|
useUserPackages = true;
|
|
useGlobalPkgs = true;
|
|
};
|
|
};
|
|
}
|