# Configuration of the shell. # TODO: switch to a shell from this century { pkgs, lib, config, ... }: let cfg = config.custom.bash; in with lib; { options.custom.bash = with types; { extraAliases = mkOption { default = {}; }; }; config = { # Configure the shell itself programs.bash = { enable = true; shellAliases = {} // cfg.extraAliases; }; # Configure the prompt programs.starship.enable = true; }; }