15 lines
292 B
Nix
15 lines
292 B
Nix
{ pkgs, config, ... }:
|
|
{
|
|
services.gpg-agent = {
|
|
enable = true;
|
|
pinentryPackage =
|
|
if config.gtk.enable
|
|
then pkgs.pinentry-gnome3
|
|
else pkgs.pinentry-curses;
|
|
};
|
|
|
|
programs.gpg.enable = true;
|
|
|
|
satellite.persistence.at.state.apps.gpg.directories = [ ".gnupg" ];
|
|
}
|