Not sure if this would work with Stow, but in my .bashrc I just do this:
if [ -f ~/config/bashrc_$(hostname -s) ]; then
source ~/config/bashrc_$(hostname -s)
fi
this gives me machine specific configs.