diff --git a/users/guanranwang/home-manager/applications/gpg/default.nix b/users/guanranwang/home-manager/applications/gpg/default.nix new file mode 100644 index 0000000..2ad02d1 --- /dev/null +++ b/users/guanranwang/home-manager/applications/gpg/default.nix @@ -0,0 +1,11 @@ +{config, ...}: { + programs.gpg = { + enable = true; + homedir = "${config.xdg.dataHome}/gnupg"; + }; + + services.gpg-agent = { + enable = true; + pinentryFlavor = "gnome3"; + }; +} diff --git a/users/guanranwang/home-manager/default.nix b/users/guanranwang/home-manager/default.nix index 7593a89..9415881 100644 --- a/users/guanranwang/home-manager/default.nix +++ b/users/guanranwang/home-manager/default.nix @@ -29,6 +29,7 @@ ./modules ./applications/git + ./applications/gpg ./applications/starship ./applications/eza ./applications/skim