{ config, lib, pkgs, ... }: { programs.bash = { enable = true; initExtra = '' export EDITOR=emacs\ -nw ''; }; }