Flash
Flashes your machine to an USB drive
Usage: clan flash
Examples
$ clan flash write mymachine --disk main /dev/sd<X> --ssh-pubkey ~/.ssh/id_rsa.pub
Will flash the machine 'mymachine' to the disk '/dev/sd
For more detailed information, visit: getting-started
Flash list
Usage: clan flash list
Positional arguments
- cmd: list possible languages or keymaps
Options
- --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
Flash write
Usage: clan flash write
Positional arguments
- machine: machine to install
Options
- --disk:
<('name', 'device')>
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