1
Fork 0
satellite/home/features/cli/gpg.nix

15 lines
292 B
Nix
Raw Normal View History

2023-07-18 22:58:42 +02:00
{ pkgs, config, ... }:
{
services.gpg-agent = {
enable = true;
2024-07-26 20:18:26 +02:00
pinentryPackage =
if config.gtk.enable
then pkgs.pinentry-gnome3
else pkgs.pinentry-curses;
2023-07-18 22:58:42 +02:00
};
2023-07-18 22:59:52 +02:00
programs.gpg.enable = true;
2023-12-12 14:32:06 +01:00
satellite.persistence.at.state.apps.gpg.directories = [ ".gnupg" ];
2023-07-18 22:58:42 +02:00
}