mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
29 lines
482 B
Nix
29 lines
482 B
Nix
{
|
|
config,
|
|
tree,
|
|
machine,
|
|
systemType,
|
|
std,
|
|
inputs,
|
|
...
|
|
}: let
|
|
inherit (std) list;
|
|
in {
|
|
home-manager = {
|
|
useGlobalPkgs = true;
|
|
useUserPackages = true;
|
|
sharedModules = with tree;
|
|
[
|
|
modules.home
|
|
]
|
|
++ list.optional (tree.${systemType} ? home) tree.${systemType}.home;
|
|
|
|
users.kat.imports = with tree.kat; [
|
|
common
|
|
];
|
|
extraSpecialArgs = {
|
|
inherit tree machine std inputs;
|
|
parent = config;
|
|
};
|
|
};
|
|
}
|