blob: fc65a10cd13f92f7f5a8c0c8b3a4010461b5bdd4 (
plain) (
tree)
|
|
# This wil be set correctly in systemd service since the service manager
# itself goes through /etc/pam.d/system-login (as systemd-user) and
# takes its environment from pam_env
# HOME doesn’t even exist when arriving here, but the user’s home is
# available via @{HOME}. But pam_systemd still sets XDG_RUNTIME_DIR (and
# only that one in the case of systemd-user)
# Those are already defined in /etc/security/pam_env.conf
XDG_CONFIG_HOME DEFAULT="@{HOME}/.config"
XDG_CACHE_HOME DEFAULT="@{HOME}/.cache"
XDG_DATA_HOME DEFAULT="@{HOME}/.local/share"
XDG_STATE_HOME DEFAULT="@{HOME}/.local/state"
EDITOR DEFAULT="vim"
VISUAL DEFAULT="vim"
PAGER DEFAULT="less"
BROWSER DEFAULT="firefox"
# Ansible
ANSIBLE_CONFIG DEFAULT="${XDG_CONFIG_HOME}/ansible/ansible.cfg"
# Python
IPYTHONDIR DEFAULT="${XDG_CONFIG_HOME}/ipython"
JUPYTER_CONFIG_DIR DEFAULT="${XDG_CONFIG_HOME}/jupyter"
PYTHONSTARTUP DEFAULT="${XDG_CONFIG_HOME}/python/startup_script.py"
# VIM
VIMINIT DEFAULT=":source ${XDG_CONFIG_HOME}/vim/vimrc"
# Mplayer
MPLAYER_HOME DEFAULT="${XDG_CONFIG_HOME}/mplayer"
# X11
XAUTHORITY DEFAULT="${XDG_RUNTIME_DIR}/Xauthority"
# GPG
GNUPGHOME DEFAULT="${XDG_CONFIG_HOME}/gnupg"
# SSH
SSH_AGENT_PID DEFAULT=
SSH_AUTH_SOCK DEFAULT="${XDG_RUNTIME_DIR}/gnupg/{{ gnupg_runtime_dir_cmd.stdout }}/S.gpg-agent.ssh"
# Less
LESSHISTFILE DEFAULT="${XDG_STATE_HOME}/less/history"
# Pass
PASSWORD_STORE_DIR DEFAULT="${XDG_DATA_HOME}/pass"
# Postgresql
PSQLRC DEFAULT="${XDG_CONFIG_HOME}/psql/psqlrc"
PSQL_HISTORY DEFAULT="${XDG_STATE_HOME}/psql/psql_history"
PGPASSFILE DEFAULT="${XDG_CONFIG_HOME}/psql/pgpass"
PGSERVICEFILE DEFAULT="${XDG_CONFIG_HOME}/psql/pg_service.conf"
# Sqlite
SQLITE_HISTORY DEFAULT="${XDG_STATE_HOME}/sqlite_history"
# Stack
STACK_ROOT DEFAULT="${XDG_DATA_HOME}/stack"
# Nodejs
NVM_DIR DEFAULT="${XDG_DATA_HOME}/nvm"
NPM_CONFIG_USERCONFIG DEFAULT="${XDG_CONFIG_HOME}/npm/npmrc"
# TMUX
TMUX_TMPDIR DEFAULT="${XDG_RUNTIME_DIR}"
# node_modules/pm2/paths.js
PM2_HOME DEFAULT="${XDG_DATA_HOME}/pm2"
PM2_CONF_FILE DEFAULT="${XDG_CONFIG_HOME}/pm2/conf.js"
PM2_MODULE_CONF_FILE DEFAULT="${XDG_CONFIG_HOME}/pm2/module_conf.js"
PM2_LOG_FILE_PATH DEFAULT="${XDG_STATE_HOME}/pm2/pm2.log"
PM2_PID_FILE_PATH DEFAULT="${XDG_RUNTIME_DIR}/pm2/pm2.pid"
PM2_RELOAD_LOCKFILE DEFAULT="${XDG_RUNTIME_DIR}/pm2/reload.lock"
PM2_DEFAULT_PID_PATH DEFAULT="${XDG_RUNTIME_DIR}/pm2/pids"
PM2_DEFAULT_LOG_PATH DEFAULT="${XDG_STATE_HOME}/pm2/logs"
PM2_DAEMON_RPC_PORT DEFAULT="${XDG_RUNTIME_DIR}/pm2/rpc.sock"
PM2_DAEMON_PUB_PORT DEFAULT="${XDG_RUNTIME_DIR}/pm2/pub.sock"
PM2_INTERACTOR_RPC_PORT DEFAULT="${XDG_RUNTIME_DIR}/pm2/interactor.sock"
PM2_INTERACTOR_LOG_FILE_PATH DEFAULT="${XDG_STATE_HOME}/pm2/agent.log"
PM2_INTERACTOR_PID_PATH DEFAULT="${XDG_RUNTIME_DIR}/pm2/agent.pid"
PM2_INTERACTION_CONF DEFAULT="${XDG_CONFIG_HOME}/pm2/agent.json5"
|