[Services + General] Improve GPG support (especially over SSH)

Also add SmartCard support
This commit is contained in:
Antoine Viallon 2022-03-21 00:04:33 +01:00
parent c64f9cb86f
commit 42bbfa7979
Signed by: aviallon
GPG key ID: 186FC35EDEB25716
2 changed files with 12 additions and 0 deletions

View file

@ -173,10 +173,15 @@ in {
programs.gnupg = {
agent.enable = true;
dirmngr.enable = true;
agent.pinentryFlavor = "curses";
agent.enableSSHSupport = true;
agent.enableExtraSocket = true;
agent.enableBrowserSocket = true;
};
programs.ssh.startAgent = false;
# SmartCards
services.pcscd.enable = true;
services.avahi.enable = true; # .lan/.local resolution
services.avahi.nssmdns = true; # .lan/.local resolution