about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--home/gpg/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/home/gpg/default.nix b/home/gpg/default.nix
index c3bcd50..9513185 100644
--- a/home/gpg/default.nix
+++ b/home/gpg/default.nix
@@ -20,6 +20,7 @@ in
   config = lib.mkIf cfg.enable {
     programs.gpg = {
       enable = true;
+      homedir = "${config.xdg.configHome}/gnupg";
       settings = { default-key = cfg.defaultKey; };
     };
     services.gpg-agent = {