From 1114cf2cb45ec3f8595c9d34c982819bd45afff3 Mon Sep 17 00:00:00 2001 From: sils Date: Mon, 15 Jan 2024 16:13:54 +0100 Subject: move gpg home-dir to ~/.gnupg GPG (especially gpg-agent) has way too much issues with a data-dir i non-default locations. --- sys/environment/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') 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"; -- cgit 1.4.1