2024-11-16 20:45:03 -08:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
2025-01-13 21:05:10 -08:00
|
|
|
}: let
|
2024-11-16 22:34:40 -08:00
|
|
|
cfg = config.marleyos.programs.starship;
|
2025-01-13 21:05:10 -08:00
|
|
|
in {
|
|
|
|
options.marleyos.programs.starship.enable = lib.mkEnableOption "starship";
|
2024-11-16 20:45:03 -08:00
|
|
|
|
|
|
|
imports = [
|
|
|
|
./nerd-font-symbols.nix
|
2024-11-17 14:53:42 -08:00
|
|
|
./rose-pine.nix
|
2024-11-16 20:45:03 -08:00
|
|
|
];
|
|
|
|
|
2025-01-13 21:05:10 -08:00
|
|
|
config = lib.mkIf cfg.enable {
|
2024-11-16 20:45:03 -08:00
|
|
|
programs.starship = {
|
|
|
|
enable = true;
|
|
|
|
|
2024-11-17 14:53:42 -08:00
|
|
|
enableTransience = true;
|
2024-11-16 20:45:03 -08:00
|
|
|
|
2024-11-17 14:53:42 -08:00
|
|
|
# Using my own version because I made so many fixes it wasn't worth...
|
2025-01-13 21:05:10 -08:00
|
|
|
rose-pine.enable = false;
|
2024-11-16 20:45:03 -08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|