1
Fork 0
satellite/home/features/cli/gpg.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" ];
}