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,7 +7,8 @@
outputs = { nixpkgs, ... }@inputs:
{
nixosConfigurations.default = nixpkgs.lib.nixosSystem {
nixosConfigurations = {
default = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
system = "x86_64-linux";
modules = [
@ -15,4 +16,11 @@
];
};
};
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";
}