Yubikey handling improvements
This commit is contained in:
parent
f586272c61
commit
1e6ee296b4
3 changed files with 9 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
./programs/vim.nix
|
||||
./programs/gpg.nix
|
||||
./programs/git.nix
|
||||
./programs/bash.nix
|
||||
];
|
||||
|
||||
# Self-hosting
|
||||
|
|
8
home-manager/programs/bash.nix
Normal file
8
home-manager/programs/bash.nix
Normal 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.
Loading…
Add table
Add a link
Reference in a new issue