30 lines
715 B
Nix
Raw Normal View History

{
lib,
modulesPath,
...
}:
{
imports = [
(modulesPath + "/installer/cd-dvd/iso-image.nix")
];
config = {
isoImage.makeEfiBootable = true;
isoImage.makeUsbBootable = true;
2025-10-27 11:25:46 -04:00
me.boot.enable = lib.mkForce false;
me.buildingPortable = true;
2025-10-26 17:36:25 -04:00
me.disko.enable = true;
me.disko.offline.enable = true;
me.mountPersistence = lib.mkForce false;
me.optimizations.enable = lib.mkForce false;
# 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-26 17:36:25 -04:00
# TODO: Should I use this instead of doing a mkIf for the disk config?
# disko.enableConfig = false;
};
}