NixOS and Home Manager config
at main 13 lines 365 B view raw
1{ ... }: { 2 programs.bash = { 3 enable = true; 4 # Some distros (mainly the Fedora/RHEL/etc family) have an optional /etc/bashrc for system wide bash config that a 5 # user can source if wanted. Source it here if it exists. 6 bashrcExtra = '' 7 # Source global definitions 8 if [ -f /etc/bashrc ]; then 9 . /etc/bashrc 10 fi 11 ''; 12 }; 13}