diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-03-08 19:23:49 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-03-08 19:23:49 +0100 |
commit | 781baa6ff78ed10649914fc8311f84a4b8af80bd (patch) | |
tree | 746a331f20c07a108e5bbf5299f547752e62ca63 /machines | |
parent | f3688102bd5c7756fbb4bd3f18811630a8791254 (diff) | |
parent | 8606a412bb6137fa4917e4bab57ab65e7549e94d (diff) | |
download | dots-781baa6ff78ed10649914fc8311f84a4b8af80bd.tar.gz dots-781baa6ff78ed10649914fc8311f84a4b8af80bd.zip |
Merge branch 'master' of https://github.com/pniedzwiedzinski/dots
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 === |