2022-12-30 12:05:46 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
2023-01-09 15:03:01 +00:00
|
|
|
let cfg = config.features.cli.starship;
|
2022-12-30 12:05:46 +00:00
|
|
|
|
|
|
|
in {
|
|
|
|
|
2023-01-09 15:03:01 +00:00
|
|
|
options.features.cli.starship.enable = mkEnableOption "enable starship prompt";
|
2022-12-30 12:05:46 +00:00
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
programs.starship = {
|
|
|
|
enable = true;
|
|
|
|
enableFishIntegration = true;
|
|
|
|
};
|
|
|
|
}; }
|