summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorsils <sils@sils.li>2022-12-07 16:56:02 +0100
committersils <sils@sils.li>2022-12-07 16:56:02 +0100
commit22181d016c6a74fa90b9e91b3162a206113be09d (patch)
treea089b37cee2fbd3c919ef3a2555ae69223f7f9b4
parentadded nerdfont (diff)
downloadnix-config-22181d016c6a74fa90b9e91b3162a206113be09d.tar.gz
nix-config-22181d016c6a74fa90b9e91b3162a206113be09d.zip
configure env vars
-rw-r--r--env.nix14
1 files changed, 8 insertions, 6 deletions
diff --git a/env.nix b/env.nix
index 62ea124..8bf87e9 100644
--- a/env.nix
+++ b/env.nix
@@ -6,14 +6,16 @@
     XDG_CONFIG_HOME	= "\${HOME}/.config";
     XDG_BIN_HOME	= "\${HOME}/.local/bin";
     XDG_DATA_HOME	= "\${HOME}/.local/share";
+    XDG_STATE_HOME	= "\${HOME}/.local/state";
     ZDOTDIR		= "\${HOME}/.config/zsh";
-    CARGO_HOME		= "\${XDG_DATA_HOME}/cargo";
-    ANDROID_HOME	= "\${XDG_DATA_HOME}/android";
-    ANSIBLE_HOME	= "\${XDG_DATA_HOME}/ansible";
+    CARGO_HOME		= "\${HOME}/.local/share/cargo";
+    ANDROID_HOME	= "\${HOME}/.local/share/android";
+    ANSIBLE_HOME	= "\${HOME}/.local/share/ansible";
     #_JAVA_OPTIONS	= '-Djava.util.prefs.userRoot="\${XDG_CONFIG_HOME}/java"';
-    WINEPREFIX		= "\${XDG_DATA_HOME}/wine";
-    GNUPGHOME		= "\${XDG_DATA_HOME}/gnupg";
-    GRADLE_USER_HOME	= "\${XDG_DATA_HOME}/gradle";
+    WINEPREFIX		= "\${HOME}/.local/share/wine";
+    GNUPGHOME		= "\${HOME}/.local/share/gnupg";
+    GRADLE_USER_HOME	= "\${HOME}/.local/share/gradle";
+    GTK2_RC_FILES	= "\${HOME}/.config/gtk-2.0/gtkrc";
     #PYTHONSTARTUP="/etc/python/pythonrc";
 
     PATH = [