blob: 88d710c42e0326ce92f89e50dd0962ca8f89b346 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# This file contains various environment variables and hacks to accomodate
# applications that don't play well with NFS-mounted home directories.
if (( UID >= 1000 )); then
export PYTHONUSERBASE="/usr/local/home/${USER}/.local"
export npm_config_cache="/usr/local/home/${USER}/.npm"
export CARGO_HOME="/usr/local/home/${USER}/.cargo"
export GOPATH="/usr/local/home/${USER}/go"
# firefox
mkdir -p "/usr/local/home/${USER}/.mozilla"
ln -sfn "/usr/local/home/${USER}/.mozilla" "${HOME}/.mozilla"
# flatpak
ln -sfn "/opt/flatpak/${USER}" "${HOME}/.var"
fi
|