about summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-03-07 14:49:46 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-03-07 14:49:46 +0100
commit189cf2bffcf7dec7c7bcadab8f95fdd2da4bcca5 (patch)
tree7e33cd7ad11feed88026b774d23f8a6e08294422 /machines
parent88c012006011f465b99db1cec5e66b1afde5312e (diff)
downloaddots-189cf2bffcf7dec7c7bcadab8f95fdd2da4bcca5.tar.gz
dots-189cf2bffcf7dec7c7bcadab8f95fdd2da4bcca5.zip
XDG + new lan
Diffstat (limited to 'machines')
-rwxr-xr-xmachines/base.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/machines/base.nix b/machines/base.nix
index 5c545ae..75935ec 100755
--- a/machines/base.nix
+++ b/machines/base.nix
@@ -36,9 +36,17 @@
   };
 
   ## === XDG ===
-  environment.variables = {
+  environment.variables = rec {
     XDG_CONFIG_HOME = "$HOME/.config";
+    XDG_CACHE_HOME = "$HOME/.cache";
     XDG_DATA_HOME = "$HOME/.local/share";
+    XDG_RUNTIME_DIR = "/run/user/$UID";
+
+    # == XDG overrides ==
+    ICEAUTHORITY = "${XDG_CACHE_HOME}/ICEauthority";
+    XAUTHORITY = "$XDG_RUNTIME_DIR/Xauthority";
+    LESSHISTFILE = "${XDG_CACHE_HOME}/lesshist";
+    MPLAYER_HOME = "$XDG_CONFIG_HOME/mplayer";
   };
 
   ## === Vim configuration ===