From 7c65add1b2639c80366d1a61857f7f03843891f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20=E2=80=9CAd=C3=A6dra=E2=80=9D=20Hamel?= Date: Sat, 27 Apr 2024 01:52:23 +0200 Subject: [PATCH] More Asciidoc tweaking --- README.asciidoc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.asciidoc b/README.asciidoc index 2c00126..e680bb3 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -12,6 +12,7 @@ There is a Homebrew package ready to provide this file, but nothing if you prefe First, install the flake into your profile: +[,sh] ---- nix profile install 'git+https://gitea.adaedra.eu/adaedra/nix-libsk-libfido2.git' ---- @@ -27,8 +28,10 @@ Once copied, you need to modify your shell init script (e.g. `~/.zshenv`) to add export SSH_SK_PROVIDER=/usr/local/lib/libsk-libfido2.dylib ---- -You also need to include it in your SSH configuration (`~/.ssh/config`): +You also need to include it in your SSH configuration: +.~/.ssh/config +[,ssh] ---- SecurityKeyProvider /usr/local/lib/libsk-libfido2.dylib ---- @@ -64,8 +67,10 @@ export SSH_SK_PROVIDER=$(realpath $HOME/.local/state/nix/profiles/profile/libexe test -n "$USER_SSH_AUTH_SOCK" && SSH_AUTH_SOCK="$USER_SSH_AUTH_SOCK" ---- -Lastly, you should also update your ssh configuration: (`~/.ssh/config`): +Lastly, you should also update your ssh configuration: +.~/.ssh/config +[,ssh] ---- SecurityKeyProvider /Users/[user]/.local/state/nix/profiles/profile/libexec/libsk-libfido2.dylib ----