Merge pull request 'docs: fix flash example' (#1745) from joerg-ci into main

This commit is contained in:
clan-bot
2024-07-15 09:57:10 +00:00

View File

@@ -48,13 +48,18 @@ sudo umount /dev/sdb1
```bash ```bash
clan flash --flake git+https://git.clan.lol/clan/clan-core \ clan flash --flake git+https://git.clan.lol/clan/clan-core \
--ssh-pubkey $HOME/.ssh/id_ed25519.pub \ --ssh-pubkey $HOME/.ssh/id_ed25519.pub \
--keymap en \ --keymap us \
--language en \ --language en_US.utf-8 \
--disk main /dev/sd<X> \ --disk main /dev/sd<X> \
flash-installer flash-installer
``` ```
The `--ssh-pubkey`, `--language` and `--keymap` are optional. The `--ssh-pubkey`, `--language` and `--keymap` are optional.
You can get a list of all keymaps with the following command:
```
$ find $(nix-build 'https://github.com/NixOS/nixpkgs/archive/refs/heads/nixpkgs-unstable.tar.gz' --no-out-link -A kbd)/share/keymaps -type f -name '*.map.gz'
```
Replace `$HOME/.ssh/id_ed25519.pub` with a path to your SSH public key. Replace `$HOME/.ssh/id_ed25519.pub` with a path to your SSH public key.
If you do not have an ssh key yet, you can generate one with `ssh-keygen -t ed25519` command. If you do not have an ssh key yet, you can generate one with `ssh-keygen -t ed25519` command.