flake/home/applications/gpg/default.nix

18 lines
265 B
Nix
Raw Normal View History

2024-01-03 14:41:18 +00:00
{
config,
lib,
pkgs,
...
}:
{
2024-01-01 13:31:28 +00:00
programs.gpg = {
enable = true;
homedir = "${config.xdg.dataHome}/gnupg";
};
services.gpg-agent = {
enable = lib.mkIf pkgs.stdenv.hostPlatform.isLinux true;
2024-03-23 06:17:09 +00:00
pinentryPackage = pkgs.pinentry-gnome3;
2024-01-01 13:31:28 +00:00
};
}