building my love an iso
This commit is contained in:
parent
d157c512dd
commit
48b18aa671
2 changed files with 22 additions and 7 deletions
22
flake.nix
22
flake.nix
|
|
@ -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
7
iso/sl1_cath.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{ pkgs, modulesPath, ... }: {
|
||||||
|
import = [
|
||||||
|
"${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"
|
||||||
|
];
|
||||||
|
|
||||||
|
nixpkgs.hostPlatform = "x86_64-linux";
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue