diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-03-07 14:49:46 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-03-07 14:49:46 +0100 |
commit | 189cf2bffcf7dec7c7bcadab8f95fdd2da4bcca5 (patch) | |
tree | 7e33cd7ad11feed88026b774d23f8a6e08294422 /machines | |
parent | 88c012006011f465b99db1cec5e66b1afde5312e (diff) | |
download | dots-189cf2bffcf7dec7c7bcadab8f95fdd2da4bcca5.tar.gz dots-189cf2bffcf7dec7c7bcadab8f95fdd2da4bcca5.zip |
XDG + new lan
Diffstat (limited to 'machines')
-rwxr-xr-x | machines/base.nix | 10 |
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 === |