This commit is contained in:
Henri Dohmen 2025-05-30 22:46:27 +02:00
parent a992a7b701
commit b61bb970a5
30 changed files with 69 additions and 34 deletions

View file

@ -1,30 +0,0 @@
{
inputs,
lib,
options,
config,
...
}:
{
imports = [
inputs.home-manager.nixosModules.home-manager
{
home-manager.users."hd" = lib.mkAliasDefinitions options.home;
# install to /etc/profiles, not ~/.nix-profile
home-manager.useUserPackages = true;
# dont use home.nixpkgs
home-manager.useGlobalPkgs = true;
}
];
config = {
home.home.stateVersion = config.system.stateVersion;
};
options = {
home = lib.mkOption {
type = lib.types.attrs;
default = { };
};
};
}