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 ----