nix-config/home/features/cli/starship.nix

19 lines
302 B
Nix
Raw Normal View History

2024-05-15 09:25:27 +00:00
{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.features.cli.starship;
in {
options.features.cli.starship.enable = mkEnableOption "enable starship prompt";
config = mkIf cfg.enable {
programs.starship = {
enable = true;
enableFishIntegration = true;
};
};
}