18 lines
338 B
Nix
18 lines
338 B
Nix
# A minimal, blazing fast, and extremely customizable prompt for any shell
|
|
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
with lib; let
|
|
cfg = config.profiles.starship;
|
|
in {
|
|
options.profiles.starship = {
|
|
enable = mkEnableOption "to enable the starship prompt.";
|
|
};
|
|
config = mkIf (cfg.enable) {
|
|
programs.starship.enable = true;
|
|
};
|
|
}
|