From d4b0f3bed4f6ebed90abab57ea013310804427be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 15 Jul 2024 11:53:25 +0200 Subject: [PATCH] docs: fix flash example --- docs/site/getting-started/installer.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/site/getting-started/installer.md b/docs/site/getting-started/installer.md index f24df796..591aec74 100644 --- a/docs/site/getting-started/installer.md +++ b/docs/site/getting-started/installer.md @@ -48,13 +48,18 @@ sudo umount /dev/sdb1 ```bash clan flash --flake git+https://git.clan.lol/clan/clan-core \ --ssh-pubkey $HOME/.ssh/id_ed25519.pub \ - --keymap en \ - --language en \ + --keymap us \ + --language en_US.utf-8 \ --disk main /dev/sd \ flash-installer ``` 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. If you do not have an ssh key yet, you can generate one with `ssh-keygen -t ed25519` command.