14 lines
286 B
Nix
14 lines
286 B
Nix
|
{ depot, ... }@args:
|
||
|
let
|
||
|
cfg = configName: configPath: { ... }: {
|
||
|
_module.args = args // {
|
||
|
inherit configName;
|
||
|
};
|
||
|
imports = [ configPath ];
|
||
|
};
|
||
|
in
|
||
|
{
|
||
|
base = cfg "base" nixos/lib/home-manager/common.nix;
|
||
|
client = cfg "client" nixos/lib/home-manager/client.nix;
|
||
|
}
|