refactor
This commit is contained in:
parent
a992a7b701
commit
b61bb970a5
30 changed files with 69 additions and 34 deletions
|
|
@ -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 = { };
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue