fix: iso module

This commit is contained in:
truxnell 2024-03-21 21:30:11 +11:00
parent f2a7e2b9f0
commit 2fb6c382d5

View file

@ -104,13 +104,14 @@
./nixos/hosts/images/sd-image ./nixos/hosts/images/sd-image
]; ];
}; };
# nix build .#images.rpi4 # nix build .#images.iso
iso = nixpkgs.lib.nixosSystem { iso = nixpkgs.lib.nixosSystem {
inherit specialArgs; inherit specialArgs;
modules = defaultModules ++ [ modules = defaultModules ++ [
"${nixpkgs}/nixos/modules/installer/cd-dvd/channel.nix" "${nixpkgs}/nixos/modules/installer/cd-dvd/channel.nix"
./nixos/hosts/images/sd-image "${nixpkgs}/nixos/modules/installer/cd-dvd/iso-image.nix"
./nixos/hosts/images/cd-dvd
]; ];
}; };
}; };