Files
nixos-config/lib/mkNixosSystem.nix
T
2026-03-19 17:55:09 +01:00

38 lines
778 B
Nix

{
self,
nixpkgs,
home-manager,
nix-flatpak,
plasma-manager,
lanzaboote,
claude-code,
nix-sweep,
peerix,
...
}:
hardwareConfig: hostConfig:
nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
inherit nix-flatpak;
inherit plasma-manager;
};
modules = [
{
nixpkgs.overlays = [ claude-code.overlays.default ];
nix.settings = {
substituters = [ "https://claude-code.cachix.org" ];
trusted-public-keys = [ "claude-code.cachix.org-1:YeXf2aNu7UTX8Vwrze0za1WEDS+4DuI2kVeWEE4fsRk=" ];
};
}
lanzaboote.nixosModules.lanzaboote
hardwareConfig
home-manager.nixosModules.home-manager
nix-sweep.nixosModules.default
peerix.nixosModules.peerix
../modules
hostConfig
];
}