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

18 lines
294 B
Nix
Raw Normal View History

2024-10-20 00:30:58 +02:00
{
config,
lib,
...
}:
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;
};
};
}