Skip to content

Flash

flash machines to usb sticks or into isos

Usage: clan flash

Positional arguments

  1. machine: machine to install
Options
  • --disk: <('name', 'value')> device to flash to
  • --mode: (Default: format) Specify the mode of operation. Valid modes are: format, mount." Format will format the disk before installing. Mount will mount the disk before installing. Mount is useful for updating an existing system without losing data.
  • --ssh-pubkey: ssh pubkey file to add to the root user. Can be used multiple times
  • --language: system language
  • --keymap: system keymap
  • --yes: do not ask for confirmation
  • --dry-run: Only build the system, don't flash it
  • --write-efi-boot-entries: Write EFI boot entries to the NVRAM of the system for the installed system. Specify this option if you plan to boot from this disk on the current machine, but not if you plan to move the disk to another machine.
  • --debug: Enable debug logging
  • --option: <('name', 'value')> Nix option to set
  • --flake: <PATH> path to the flake where the clan resides in, can be a remote flake or local, can be set through the [CLAN_DIR] environment variable