cfg/mod/home-manager.nix
2025-05-14 03:22:38 +02:00

25 lines
370 B
Nix

{
inputs,
lib,
options,
config,
...
}:
{
imports = [
inputs.home-manager.nixosModules.home-manager
];
config = {
home.home.stateVersion = config.system.stateVersion;
home-manager.users."hd" = lib.mkAliasDefinitions options.home;
};
options = {
home = lib.mkOption {
type = lib.types.attrs;
default = { };
};
};
}