Yubikey handling improvements

This commit is contained in:
Lauren Lagarde 2025-07-15 20:03:51 -05:00
parent f586272c61
commit 1e6ee296b4
3 changed files with 9 additions and 0 deletions

View file

@ -5,6 +5,7 @@
./programs/vim.nix
./programs/gpg.nix
./programs/git.nix
./programs/bash.nix
];
# Self-hosting

View file

@ -0,0 +1,8 @@
{ ... }: {
programs.bash = {
enable = true;
shellAliases = {
ssh-with-yubikey = "ssh -A -R \"$(gpgconf --list-dirs agent-socket):$(gpgconf --list-dirs agent-socket)\" -o \"StreamLocalBindUnlink=yes\"";
};
};
}

Binary file not shown.