image

Attribute: clan.core.image

iso

Attribute: clan.core.image.iso

addFilesScript

Attribute: clan.core.image.iso.addFilesScript

Script to inject extra files into an ISO image.

Source parse-add-files-args.sh to get standardized argument parsing. After sourcing, $source_image, $output_image, and $extra_paths are available.

Accepts the following arguments:

  • --source : Path to the original built image (read-only)
  • --output : Path for the modified output image
  • --extra-path : Repeatable, maps a local file or directory to a target filesystem path inside the image

Type: package

Default:

pkgs.writeShellApplication { ... }

Declared in: nixosModules/clanCore/image/iso