summary refs log tree commit diff stats
path: root/env.nix
blob: 62ea124de1e5abc0ac9fd0d63f8383cd61d2b171 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ config, pkgs, ... }:

{
  environment.sessionVariables = rec {
    XDG_CACHE_HOME	= "\${HOME}/.cache";
    XDG_CONFIG_HOME	= "\${HOME}/.config";
    XDG_BIN_HOME	= "\${HOME}/.local/bin";
    XDG_DATA_HOME	= "\${HOME}/.local/share";
    ZDOTDIR		= "\${HOME}/.config/zsh";
    CARGO_HOME		= "\${XDG_DATA_HOME}/cargo";
    ANDROID_HOME	= "\${XDG_DATA_HOME}/android";
    ANSIBLE_HOME	= "\${XDG_DATA_HOME}/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";
    #PYTHONSTARTUP="/etc/python/pythonrc";

    PATH = [ 
      "\${XDG_BIN_HOME}"
    ];
  };
}