about summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-01-15 09:56:47 -0800
committerFranck Cuny <franck@fcuny.net>2023-01-15 09:56:47 -0800
commit670bba3dc39c2c4ffa1a7ab51b4c61ab790791c6 (patch)
treea7a7c5ce4d2f700f984374fa22bbd8fc26632ee9 /home
parentref(home/xdg): configure a few more environment variables (diff)
downloadworld-670bba3dc39c2c4ffa1a7ab51b4c61ab790791c6.tar.gz
ref(home/gpg): set homedir for GPG configurations
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 = {