feat: added configuration

This commit is contained in:
uttarayan21
2025-06-19 23:53:21 +05:30
parent c15d06781b
commit bc5c1f9385
2 changed files with 13 additions and 15 deletions

View File

@@ -16,28 +16,26 @@
stablePkgs = inputs.nixpkgs-stable.legacyPackages.${device.system};
};
modules = [
{nixpkgs.overlays = overlays;}
nur.modules.nixos.default
inputs.sops-nix.nixosModules.sops
inputs.disko.nixosModules.disko
{nixpkgs.overlays = overlays;}
./${device.name}/configuration.nix
home-manager.nixosModules.home-manager
inputs.lanzaboote.nixosModules.lanzaboote
inputs.musnix.nixosModules.musnix
inputs.arion.nixosModules.arion
./configuration.nix
{
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 = [../home];
};
# home-manager = {
# backupFileExtension = "bak";
# useGlobalPkgs = true;
# useUserPackages = true;
# extraSpecialArgs = {
# inherit inputs;
# inherit device;
# stablePkgs = inputs.nixpkgs-stable.legacyPackages.${device.system};
# };
# users.${device.user}.imports = [./home];
# };
}
];
}