Flash
flashes your machine to an USB drive
Usage: clan flash
Examples
$ clan flash import installer
$ clan flash apply installer --disk main /dev/sd<X> --ssh-pubkey ~/.ssh/id_rsa.pub
Will create and flash a custom installer nixos image onto a drive
For more detailed information, visit: getting-started
Flash apply
Usage: clan flash apply
Positional arguments
- machine: machine to install
Options
- --disk:
<('name', 'device')>
device to flash to - --wifi:
<('ssid', 'password')>
wifi network to connect 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
- --no-udev: Disable udev rules to block automounting
- --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
Flash list
Usage: clan flash list
Positional arguments
- OPTION: 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