1
0

Move gpg-ssh support to home-manager

This commit is contained in:
dump_stack() 2019-07-27 10:57:52 +00:00
parent ee98e27dea
commit f44a829461
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -54,9 +54,6 @@ in {
GOPATH = "\${HOME}";
PATH = "\${PATH}:\${HOME}/bin";
GPG_TTY = "$(tty)";
SSH_AUTH_SOCK = "$(gpgconf --list-dirs agent-ssh-socket)";
ZSH_TMUX_AUTOSTART = "true";
ZSH_TMUX_AUTOCONNECT = "true";
};
@ -69,7 +66,6 @@ in {
};
initExtra = ''
gpgconf --launch gpg-agent
which apt >/dev/null 2>&1 && plugins=("\$\{(@)plugins:#tmux-my\}")
'';
};
@ -85,6 +81,7 @@ in {
services = {
gpg-agent = {
enable = true;
enableSshSupport = true;
};
};