2024-11-16 20:45:03 -08:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
let
|
|
|
|
inherit (lib)
|
2024-11-16 23:29:38 -08:00
|
|
|
mkEnableOption
|
2024-11-16 20:45:03 -08:00
|
|
|
mkIf
|
|
|
|
;
|
2024-11-17 14:53:42 -08:00
|
|
|
inherit (lib.marleyos) disabled;
|
2024-11-16 20:45:03 -08:00
|
|
|
|
2024-11-16 22:34:40 -08:00
|
|
|
cfg = config.marleyos.programs.starship;
|
2024-11-16 20:45:03 -08:00
|
|
|
in
|
|
|
|
{
|
2024-11-16 23:29:38 -08:00
|
|
|
options.marleyos.programs.starship.enable = 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
|
|
|
];
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
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...
|
|
|
|
rose-pine = disabled;
|
2024-11-16 20:45:03 -08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|