mirror of
https://github.com/nix-community/nixos-generators.git
synced 2024-09-11 12:15:29 +03:00
16 lines
268 B
Nix
16 lines
268 B
Nix
{ config, modulesPath, ... }:
|
|
{
|
|
imports = [
|
|
"${toString modulesPath}/installer/cd-dvd/iso-image.nix"
|
|
];
|
|
|
|
# EFI booting
|
|
isoImage.makeEfiBootable = true;
|
|
|
|
# USB booting
|
|
isoImage.makeUsbBootable = true;
|
|
|
|
formatAttr = "isoImage";
|
|
filename = "*.iso";
|
|
}
|