1
0

More Asciidoc tweaking

This commit is contained in:
Thibault “Adædra” Hamel 2024-04-27 01:52:23 +02:00
parent 3986a7979a
commit 7c65add1b2

View File

@ -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: First, install the flake into your profile:
[,sh]
---- ----
nix profile install 'git+https://gitea.adaedra.eu/adaedra/nix-libsk-libfido2.git' 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 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 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" 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 SecurityKeyProvider /Users/[user]/.local/state/nix/profiles/profile/libexec/libsk-libfido2.dylib
---- ----