mirror of
https://github.com/js0ny/dotfiles.git
synced 2026-03-22 02:36:19 +00:00
minor fix
This commit is contained in:
parent
f7d8dc349c
commit
eccae188a8
4 changed files with 25 additions and 1 deletions
14
nixcfgs/users/js0ny/programs/antidots.nix
Normal file
14
nixcfgs/users/js0ny/programs/antidots.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{config, ...}: let
|
||||
xdg-data = "${config.xdg.dataHome}";
|
||||
xdg-config = "${config.xdg.configHome}";
|
||||
xdg-cache = "${config.xdg.cacheHome}";
|
||||
in {
|
||||
home.sessionVariables = {
|
||||
CARGO_HOME = "${xdg-data}/cargo";
|
||||
XCOMPOSECACHE = "${xdg-cache}/X11/xcompose";
|
||||
DOCKER_CONFIG = "${xdg-config}/docker";
|
||||
GNUPGHOME = "${xdg-data}/gnupg";
|
||||
GRADLE_USER_HOME = "${xdg-data}/gradle";
|
||||
_JAVA_OPTIONS = "-Djava.util.prefs.userRoot='${xdg-data}/java'";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue