2022-09-18 19:42:30 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
gnupg
|
|
|
|
pinentry-curses
|
|
|
|
];
|
|
|
|
|
|
|
|
programs.gpg = {
|
|
|
|
enable = true;
|
2022-09-23 03:21:12 +00:00
|
|
|
scdaemonSettings = {
|
|
|
|
# Fix conflicts with config in common/yubikey.nix
|
|
|
|
disable-ccid = true;
|
|
|
|
};
|
2022-09-18 19:42:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
services.gpg-agent = {
|
|
|
|
enable = true;
|
|
|
|
pinentryFlavor = "curses";
|
2022-09-22 01:41:08 +00:00
|
|
|
enableZshIntegration = true;
|
|
|
|
enableSshSupport = true;
|
2022-09-18 19:42:30 +00:00
|
|
|
};
|
|
|
|
}
|