depot/ops/home-manager-ext.nix

14 lines
286 B
Nix
Raw Normal View History

{ 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;
}