{ flake.homeModules.shell = { programs.fish = { enable = true; shellInit = '' if test -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.fish' source '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.fish' end ''; binds = { "ctrl-z".command = "fg 2> /dev/null; commandline -f repaint"; }; }; }; }