2025-10-11 00:08:02 -04:00
|
|
|
{
|
|
|
|
|
lib,
|
|
|
|
|
modulesPath,
|
|
|
|
|
...
|
|
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
imports = [
|
|
|
|
|
(modulesPath + "/installer/cd-dvd/iso-image.nix")
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
config = {
|
|
|
|
|
isoImage.makeEfiBootable = true;
|
|
|
|
|
isoImage.makeUsbBootable = true;
|
|
|
|
|
|
|
|
|
|
me.buildingPortable = true;
|
|
|
|
|
me.mountPersistence = lib.mkForce false;
|
|
|
|
|
me.optimizations.enable = lib.mkForce false;
|
|
|
|
|
|
2025-10-26 15:05:49 -04:00
|
|
|
# Not doing image_based_appliance because this might be an install ISO, in which case we'd need nix to do the install.
|
|
|
|
|
# me.image_based_appliance.enable = true;
|
2025-10-11 00:08:02 -04:00
|
|
|
};
|
|
|
|
|
}
|