2024-09-23 09:31:53 +00:00
|
|
|
# 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) {
|
2024-09-23 16:06:17 +00:00
|
|
|
programs.starship = {
|
|
|
|
enable = true;
|
|
|
|
presets = ["nerd-font-symbols"];
|
2024-09-24 02:29:59 +00:00
|
|
|
settings = pkgs.lib.importTOML ./craige.toml;
|
2024-09-23 16:06:17 +00:00
|
|
|
};
|
2024-09-23 09:31:53 +00:00
|
|
|
};
|
|
|
|
}
|