Use ssh-agent for ssh, instead of gpg

This commit is contained in:
Henrik Lissner 2020-04-27 19:20:50 -04:00
parent d6c4888fe1
commit 8a3ccf4326
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 3 additions and 6 deletions

View file

@ -70,6 +70,7 @@
themes.fluorescence.enable = true;
};
programs.ssh.startAgent = true;
networking.networkmanager.enable = true;
time.timeZone = "America/Toronto";
}

View file

@ -67,6 +67,7 @@
themes.fluorescence.enable = true;
};
programs.ssh.startAgent = true;
networking.wireless.enable = true;
hardware.opengl.enable = true;

View file

@ -19,17 +19,12 @@ in {
# is cleaner than overriding the systemd unit.
home.xdg.configFile."gnupg/gpg-agent.conf" = {
text = ''
enable-ssh-support
allow-emacs-pinentry
default-cache-ttl ${toString gnupgCfg.cacheTTL}
pinentry-program ${pkgs.pinentry.gtk2}/bin/pinentry
'';
};
};
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
programs.gnupg.agent.enable = true;
};
}