refactor(darwin,nixos): simplify module imports and theme configs

This commit is contained in:
uttarayan21
2025-10-24 08:54:36 +05:30
parent 7e98fc2e52
commit 322e4e4230
14 changed files with 98 additions and 96 deletions

20
home/module.nix Normal file
View File

@@ -0,0 +1,20 @@
{
device,
inputs,
...
}: {
nixpkgs.config.allowUnfree = true;
home-manager = {
backupFileExtension = "bak";
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = {
inherit inputs;
inherit device;
stablePkgs = inputs.nixpkgs-stable.legacyPackages.${device.system};
};
users.${device.user}.imports = [
./.
];
};
}