summary refs log tree commit diff stats
path: root/sys/environment/default.nix
diff options
context:
space:
mode:
authorsils <sils@sils.li>2024-01-15 16:13:54 +0100
committersils <sils@sils.li>2024-01-15 16:13:54 +0100
commit1114cf2cb45ec3f8595c9d34c982819bd45afff3 (patch)
tree74deff88179342bc612bcccb9dd058a7beba4e62 /sys/environment/default.nix
parentsys/services/restic: trigger first backup 30min after system awakens (diff)
downloadnix-config-1114cf2cb45ec3f8595c9d34c982819bd45afff3.tar.gz
nix-config-1114cf2cb45ec3f8595c9d34c982819bd45afff3.zip
move gpg home-dir to ~/.gnupg
GPG (especially gpg-agent) has way too much issues with a data-dir i
non-default locations.
Diffstat (limited to '')
-rw-r--r--sys/environment/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/environment/default.nix b/sys/environment/default.nix
index bf8ec5f..d21a820 100644
--- a/sys/environment/default.nix
+++ b/sys/environment/default.nix
@@ -1,4 +1,4 @@
-{...}: {
+{lib, ...}: {
   environment = {
     sessionVariables = {
       XDG_CACHE_HOME = "\${HOME}/.cache";
@@ -12,7 +12,7 @@
       ANSIBLE_HOME = "\${HOME}/.local/share/ansible";
       #_JAVA_OPTIONS	= '-Djava.util.prefs.userRoot="\${XDG_CONFIG_HOME}/java"';
       WINEPREFIX = "\${HOME}/.local/share/wine";
-      GNUPGHOME = "\${HOME}/.local/share/gnupg";
+      GNUPGHOME = lib.mkForce "";
       GRADLE_USER_HOME = "\${HOME}/.local/share/gradle";
       GTK2_RC_FILES = "\${HOME}/.config/gtk-2.0/gtkrc";
       EDITOR = "nvim";