22 lines
362 B
Nix
22 lines
362 B
Nix
|
{ pkgs, lib, ... }:
|
||
|
|
||
|
{
|
||
|
|
||
|
programs.gnupg.agent = {
|
||
|
enable = true;
|
||
|
enableSSHSupport = true;
|
||
|
pinentryPackage = lib.mkDefault pkgs.pinentry-curses;
|
||
|
};
|
||
|
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
gnupg
|
||
|
|
||
|
# Add wrapper around ssh that takes the gnupg ssh-agent
|
||
|
# instead of gnome-keyring
|
||
|
ssh-gpg
|
||
|
];
|
||
|
|
||
|
services.pcscd.enable = true;
|
||
|
|
||
|
}
|