1 # This wil be set correctly in systemd service since the service manager
2 # itself goes through /etc/pam.d/system-login (as systemd-user) and
3 # takes its environment from pam_env
4 # HOME doesn’t even exist when arriving here, but the user’s home is
5 # available via @{HOME}. But pam_systemd still sets XDG_RUNTIME_DIR (and
6 # only that one in the case of systemd-user)
8 # Those are already defined in /etc/security/pam_env.conf
9 XDG_CONFIG_HOME DEFAULT="@{HOME}/.config"
10 XDG_CACHE_HOME DEFAULT="@{HOME}/.cache"
11 XDG_DATA_HOME DEFAULT="@{HOME}/.local/share"
12 XDG_STATE_HOME DEFAULT="@{HOME}/.local/state"
17 BROWSER DEFAULT="firefox"
20 ANSIBLE_CONFIG DEFAULT="${XDG_CONFIG_HOME}/ansible/ansible.cfg"
23 IPYTHONDIR DEFAULT="${XDG_CONFIG_HOME}/ipython"
24 JUPYTER_CONFIG_DIR DEFAULT="${XDG_CONFIG_HOME}/jupyter"
25 PYTHONSTARTUP DEFAULT="${XDG_CONFIG_HOME}/python/startup_script.py"
28 VIMINIT DEFAULT=":source ${XDG_CONFIG_HOME}/vim/vimrc"
31 MPLAYER_HOME DEFAULT="${XDG_CONFIG_HOME}/mplayer"
34 XAUTHORITY DEFAULT="${XDG_RUNTIME_DIR}/Xauthority"
37 GNUPGHOME DEFAULT="${XDG_CONFIG_HOME}/gnupg"
40 SSH_AGENT_PID DEFAULT=
41 SSH_AUTH_SOCK DEFAULT="${XDG_RUNTIME_DIR}/gnupg/{{ gnupg_runtime_dir_cmd.get('stdout', debug_gnupg_runtime_dir) }}/S.gpg-agent.ssh"
44 LESSHISTFILE DEFAULT="${XDG_STATE_HOME}/less/history"
47 PASSWORD_STORE_DIR DEFAULT="${XDG_DATA_HOME}/pass"
50 PSQLRC DEFAULT="${XDG_CONFIG_HOME}/psql/psqlrc"
51 PSQL_HISTORY DEFAULT="${XDG_STATE_HOME}/psql/psql_history"
52 PGPASSFILE DEFAULT="${XDG_CONFIG_HOME}/psql/pgpass"
53 PGSERVICEFILE DEFAULT="${XDG_CONFIG_HOME}/psql/pg_service.conf"
56 SQLITE_HISTORY DEFAULT="${XDG_STATE_HOME}/sqlite_history"
59 STACK_ROOT DEFAULT="${XDG_DATA_HOME}/stack"
62 NVM_DIR DEFAULT="${XDG_DATA_HOME}/nvm"
63 NPM_CONFIG_USERCONFIG DEFAULT="${XDG_CONFIG_HOME}/npm/npmrc"
66 TMUX_TMPDIR DEFAULT="${XDG_RUNTIME_DIR}"
68 # node_modules/pm2/paths.js
69 PM2_HOME DEFAULT="${XDG_DATA_HOME}/pm2"
70 PM2_CONF_FILE DEFAULT="${XDG_CONFIG_HOME}/pm2/conf.js"
71 PM2_MODULE_CONF_FILE DEFAULT="${XDG_CONFIG_HOME}/pm2/module_conf.js"
72 PM2_LOG_FILE_PATH DEFAULT="${XDG_STATE_HOME}/pm2/pm2.log"
73 PM2_PID_FILE_PATH DEFAULT="${XDG_RUNTIME_DIR}/pm2/pm2.pid"
74 PM2_RELOAD_LOCKFILE DEFAULT="${XDG_RUNTIME_DIR}/pm2/reload.lock"
75 PM2_DEFAULT_PID_PATH DEFAULT="${XDG_RUNTIME_DIR}/pm2/pids"
76 PM2_DEFAULT_LOG_PATH DEFAULT="${XDG_STATE_HOME}/pm2/logs"
77 PM2_DAEMON_RPC_PORT DEFAULT="${XDG_RUNTIME_DIR}/pm2/rpc.sock"
78 PM2_DAEMON_PUB_PORT DEFAULT="${XDG_RUNTIME_DIR}/pm2/pub.sock"
79 PM2_INTERACTOR_RPC_PORT DEFAULT="${XDG_RUNTIME_DIR}/pm2/interactor.sock"
80 PM2_INTERACTOR_LOG_FILE_PATH DEFAULT="${XDG_STATE_HOME}/pm2/agent.log"
81 PM2_INTERACTOR_PID_PATH DEFAULT="${XDG_RUNTIME_DIR}/pm2/agent.pid"
82 PM2_INTERACTION_CONF DEFAULT="${XDG_CONFIG_HOME}/pm2/agent.json5"