feat: added configuration
This commit is contained in:
0
rpi/configuration.nix
Normal file
0
rpi/configuration.nix
Normal file
@@ -16,28 +16,26 @@
|
|||||||
stablePkgs = inputs.nixpkgs-stable.legacyPackages.${device.system};
|
stablePkgs = inputs.nixpkgs-stable.legacyPackages.${device.system};
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
|
{nixpkgs.overlays = overlays;}
|
||||||
nur.modules.nixos.default
|
nur.modules.nixos.default
|
||||||
inputs.sops-nix.nixosModules.sops
|
inputs.sops-nix.nixosModules.sops
|
||||||
inputs.disko.nixosModules.disko
|
|
||||||
{nixpkgs.overlays = overlays;}
|
|
||||||
./${device.name}/configuration.nix
|
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
inputs.lanzaboote.nixosModules.lanzaboote
|
inputs.lanzaboote.nixosModules.lanzaboote
|
||||||
inputs.musnix.nixosModules.musnix
|
|
||||||
inputs.arion.nixosModules.arion
|
inputs.arion.nixosModules.arion
|
||||||
|
./configuration.nix
|
||||||
{
|
{
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
home-manager = {
|
# home-manager = {
|
||||||
backupFileExtension = "bak";
|
# backupFileExtension = "bak";
|
||||||
useGlobalPkgs = true;
|
# useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
# useUserPackages = true;
|
||||||
extraSpecialArgs = {
|
# extraSpecialArgs = {
|
||||||
inherit inputs;
|
# inherit inputs;
|
||||||
inherit device;
|
# inherit device;
|
||||||
stablePkgs = inputs.nixpkgs-stable.legacyPackages.${device.system};
|
# stablePkgs = inputs.nixpkgs-stable.legacyPackages.${device.system};
|
||||||
};
|
# };
|
||||||
users.${device.user}.imports = [../home];
|
# users.${device.user}.imports = [./home];
|
||||||
};
|
# };
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user