]> git.immae.eu Git - perso/Immae/Config/Ansible.git/blame_incremental - roles/init/templates/pam_environment.j2
Add backup script
[perso/Immae/Config/Ansible.git] / roles / init / templates / pam_environment.j2
... / ...
CommitLineData
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)
7
8# Those are already defined in /etc/security/pam_env.conf
9XDG_CONFIG_HOME DEFAULT="@{HOME}/.config"
10XDG_CACHE_HOME DEFAULT="@{HOME}/.cache"
11XDG_DATA_HOME DEFAULT="@{HOME}/.local/share"
12XDG_STATE_HOME DEFAULT="@{HOME}/.local/state"
13
14EDITOR DEFAULT="vim"
15VISUAL DEFAULT="vim"
16PAGER DEFAULT="less"
17BROWSER DEFAULT="firefox"
18
19# replace GIO with xdg-open, see tools/files/gio_unwrapper.sh
20GIO_LAUNCH_DESKTOP DEFAULT=gio_unwrapper
21
22# Readline
23INPUTRC DEFAULT="${XDG_CONFIG_HOME}/inputrc"
24
25# Ansible
26ANSIBLE_CONFIG DEFAULT="${XDG_CONFIG_HOME}/ansible/ansible.cfg"
27
28# Python
29IPYTHONDIR DEFAULT="${XDG_CONFIG_HOME}/ipython"
30JUPYTER_CONFIG_DIR DEFAULT="${XDG_CONFIG_HOME}/jupyter"
31PYTHONSTARTUP DEFAULT="${XDG_CONFIG_HOME}/python/startup_script.py"
32
33# VIM
34VIMINIT DEFAULT=":source ${XDG_CONFIG_HOME}/vim/vimrc"
35
36# Mplayer
37MPLAYER_HOME DEFAULT="${XDG_CONFIG_HOME}/mplayer"
38
39# X11
40XAUTHORITY DEFAULT="${XDG_RUNTIME_DIR}/Xauthority"
41
42# GPG
43GNUPGHOME DEFAULT="${XDG_CONFIG_HOME}/gnupg"
44
45# SSH
46SSH_AGENT_PID DEFAULT=
47SSH_AUTH_SOCK DEFAULT="${XDG_RUNTIME_DIR}/gnupg/{{ gnupg_runtime_dir_cmd.stdout }}/S.gpg-agent.ssh"
48
49# Less
50LESS DEFAULT="-iqFMRSX"
51LESSHISTFILE DEFAULT="${XDG_STATE_HOME}/less/history"
52
53# Pass
54PASSWORD_STORE_DIR DEFAULT="${XDG_DATA_HOME}/pass"
55
56# Postgresql
57PSQLRC DEFAULT="${XDG_CONFIG_HOME}/psql/psqlrc"
58PSQL_HISTORY DEFAULT="${XDG_STATE_HOME}/psql/psql_history"
59PGPASSFILE DEFAULT="${XDG_CONFIG_HOME}/psql/pgpass"
60PGSERVICEFILE DEFAULT="${XDG_CONFIG_HOME}/psql/pg_service.conf"
61
62# Sqlite
63SQLITE_HISTORY DEFAULT="${XDG_STATE_HOME}/sqlite_history"
64
65# Stack
66STACK_ROOT DEFAULT="${XDG_DATA_HOME}/stack"
67
68# Nodejs
69NVM_DIR DEFAULT="${XDG_DATA_HOME}/nvm"
70NPM_CONFIG_USERCONFIG DEFAULT="${XDG_CONFIG_HOME}/npm/npmrc"
71NODE_REPL_HISTORY DEFAULT="${XDG_STATE_HOME}/nodejs/repl_history"
72
73# TMUX
74TMUX_TMPDIR DEFAULT="${XDG_RUNTIME_DIR}"
75
76# Zeal
77DASHT_DOCSETS_DIR DEFAULT="${XDG_DATA_HOME}/Zeal/Zeal/docsets/"
78
79# Wget
80WGETRC DEFAULT="${XDG_CONFIG_HOME}/wgetrc"
81
82# fcitx
83GTK_IM_MODULE DEFAULT="fcitx"
84QT_IM_MODULE DEFAULT="fcitx"
85XMODIFIERS DEFAULT="@im=fcitx"
86
87# node_modules/pm2/paths.js
88PM2_HOME DEFAULT="${XDG_DATA_HOME}/pm2"
89PM2_CONF_FILE DEFAULT="${XDG_CONFIG_HOME}/pm2/conf.js"
90PM2_MODULE_CONF_FILE DEFAULT="${XDG_CONFIG_HOME}/pm2/module_conf.js"
91PM2_LOG_FILE_PATH DEFAULT="${XDG_STATE_HOME}/pm2/pm2.log"
92PM2_PID_FILE_PATH DEFAULT="${XDG_RUNTIME_DIR}/pm2/pm2.pid"
93PM2_RELOAD_LOCKFILE DEFAULT="${XDG_RUNTIME_DIR}/pm2/reload.lock"
94PM2_DEFAULT_PID_PATH DEFAULT="${XDG_RUNTIME_DIR}/pm2/pids"
95PM2_DEFAULT_LOG_PATH DEFAULT="${XDG_STATE_HOME}/pm2/logs"
96PM2_DAEMON_RPC_PORT DEFAULT="${XDG_RUNTIME_DIR}/pm2/rpc.sock"
97PM2_DAEMON_PUB_PORT DEFAULT="${XDG_RUNTIME_DIR}/pm2/pub.sock"
98PM2_INTERACTOR_RPC_PORT DEFAULT="${XDG_RUNTIME_DIR}/pm2/interactor.sock"
99PM2_INTERACTOR_LOG_FILE_PATH DEFAULT="${XDG_STATE_HOME}/pm2/agent.log"
100PM2_INTERACTOR_PID_PATH DEFAULT="${XDG_RUNTIME_DIR}/pm2/agent.pid"
101PM2_INTERACTION_CONF DEFAULT="${XDG_CONFIG_HOME}/pm2/agent.json5"