summary refs log tree commit diff stats
path: root/users
diff options
context:
space:
mode:
Diffstat (limited to 'users')
-rw-r--r--users/sils/gpg/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/users/sils/gpg/default.nix b/users/sils/gpg/default.nix
index 79c4b33..af3dcea 100644
--- a/users/sils/gpg/default.nix
+++ b/users/sils/gpg/default.nix
@@ -5,7 +5,6 @@
 }: {
   programs.gpg = {
     enable = true;
-    homedir = "${config.xdg.dataHome}/gnupg";
   };
   services.gpg-agent = {
     enable = true;
@@ -21,4 +20,7 @@
     SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
     gpg-connect-agent /bye
   '';
+  home.sessionVariables = {
+    GNUPGHOME = lib.mkForce "";
+  };
 }