1
0
Fork 0

bashrc: add export variables for debian

This commit is contained in:
Pratham Patel 2024-02-16 17:53:39 +05:30
parent 8756a06b3a
commit fee9d86e16
Signed by: thefossguy
SSH Key Fingerprint: SHA256:/B3wAg7jnMEBQ2JwkebbS/eXVZANDmqRfnd9QkIhxMI
1 changed files with 4 additions and 0 deletions

View File

@ -42,6 +42,10 @@ if [[ "$(uname -s)" == 'Linux' ]]; then
if ! grep 'ID=nixos' /etc/os-release > /dev/null; then
[[ -f "${HOME}/.nix-profile/etc/profile.d/hm-session-vars.sh" ]] && \
source "${HOME}/.nix-profile/etc/profile.d/hm-session-vars.sh"
elif grep 'debian' /etc/os-release > /dev/null; then
export NEEDRESTART_MODE='a'
export DEBIAN_FRONTEND='noninteractive'
export APT_LISTCHANGES_FRONTEND='none'
fi
elif [[ "$(uname -s)" == 'Darwin' ]]; then