{ ... }: { programs.bash = { enable = true; # Some distros (mainly the Fedora/RHEL/etc family) have an optional /etc/bashrc for system wide bash config that a # user can source if wanted. Source it here if it exists. bashrcExtra = '' # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi ''; }; }