building my love an iso

This commit is contained in:
Polen 2024-10-03 00:14:36 -04:00
parent d157c512dd
commit 48b18aa671
2 changed files with 22 additions and 7 deletions

View file

@ -7,12 +7,20 @@
outputs = { nixpkgs, ... }@inputs: outputs = { nixpkgs, ... }@inputs:
{ {
nixosConfigurations.default = nixpkgs.lib.nixosSystem { nixosConfigurations = {
specialArgs = {inherit inputs;}; default = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; specialArgs = {inherit inputs;};
modules = [ system = "x86_64-linux";
./configuration.nix modules = [
]; ./configuration.nix
}; ];
};
};
iso_cath = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
modules = [
./iso/sl1_cath.nix
];
};
}; };
} }

7
iso/sl1_cath.nix Normal file
View file

@ -0,0 +1,7 @@
{ pkgs, modulesPath, ... }: {
import = [
"${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"
];
nixpkgs.hostPlatform = "x86_64-linux";
}