feat(keychain): use keychain for ssh agent
This commit is contained in:
parent
f4c4601a46
commit
3673aceaf3
3 changed files with 10 additions and 1 deletions
|
@ -255,6 +255,7 @@
|
|||
vim
|
||||
gpg
|
||||
ssh
|
||||
keychain
|
||||
|
||||
# Terminal
|
||||
starship
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
|
||||
services.gpg-agent = {
|
||||
enable = true;
|
||||
enableSshSupport = true;
|
||||
pinentryFlavor = (if main.services.xserver.enable then "qt" else "curses");
|
||||
extraConfig = ''
|
||||
allow-emacs-pinentry
|
||||
|
|
9
users/profiles/keychain.nix
Normal file
9
users/profiles/keychain.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
programs.keychain = {
|
||||
enable = true;
|
||||
extraFlags = [ "--quiet" "--dir ${config.xdg.configHome}/keychain" ];
|
||||
|
||||
keys = [ "id_ed25519" ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue