19 lines
302 B
Nix
19 lines
302 B
Nix
|
{
|
||
|
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;
|
||
|
};
|
||
|
};
|
||
|
}
|