# Configuration of the shell. { pkgs, lib, config, ... }: let cfg = config.custom.fish; in with lib; { options.custom.fish = with types; { extraAliases = mkOption { default = {}; }; }; config = { # Configure the shell itself programs.fish = { enable = true; shellAliases = {} // cfg.extraAliases; }; # Configure the prompt programs.starship.enable = true; }; }