refactor: move home-manager module to their respective hosts

This commit is contained in:
2024-10-21 16:25:00 +05:30
parent ee4670912b
commit b9d444e78d
10 changed files with 80 additions and 121 deletions

View File

@ -13,6 +13,7 @@
in {
imports = [
inputs.impermanence.nixosModules.impermanence
inputs.home-manager.nixosModules.home-manager
../../modules/nixos/sops.nix
];
@ -121,4 +122,15 @@ in {
];
};
};
home-manager = {
backupFileExtension = "backup";
useUserPackages = true;
extraSpecialArgs = {inherit inputs outputs username;};
users.${username} = {
imports = [
./home.nix
];
};
};
}