refactor: move home-manager config into default
This commit is contained in:
parent
c2be760298
commit
78479b8e85
1 changed files with 13 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
|||
modulesPath,
|
||||
inputs,
|
||||
config,
|
||||
specialArgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
@ -16,6 +17,18 @@
|
|||
./modules/programs/tailscale.nix
|
||||
./modules/programs/zsh.nix
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
extraSpecialArgs = specialArgs;
|
||||
users.rafiq.imports = [
|
||||
../users/rafiq.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
]
|
||||
(lib.optionals (type == "desktop") [
|
||||
../themes/cursors/banana-cursor.nix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue