flake/users/guanranwang/home-manager/applications/gpg/default.nix

17 lines
256 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 = {
2024-01-03 14:41:18 +00:00
enable = lib.mkIf (!pkgs.stdenv.hostPlatform.isDarwin) true;
2024-01-01 13:31:28 +00:00
pinentryFlavor = "gnome3";
};
}