refactor: move home-manager config into default

This commit is contained in:
Mohammad Rafiq 2025-03-27 00:38:46 +08:00
parent c2be760298
commit 78479b8e85
No known key found for this signature in database

View file

@ -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