marleyos/modules/home/programs/starship/default.nix

34 lines
536 B
Nix
Raw Normal View History

2024-11-16 20:45:03 -08:00
{
lib,
config,
...
}:
let
inherit (lib)
mkEnableOption
2024-11-16 20:45:03 -08:00
mkIf
;
inherit (lib.marleyos) disabled;
2024-11-16 20:45:03 -08:00
cfg = config.marleyos.programs.starship;
2024-11-16 20:45:03 -08:00
in
{
options.marleyos.programs.starship.enable = mkEnableOption "starship";
2024-11-16 20:45:03 -08:00
imports = [
./nerd-font-symbols.nix
./rose-pine.nix
2024-11-16 20:45:03 -08:00
];
config = mkIf cfg.enable {
programs.starship = {
enable = true;
enableTransience = true;
2024-11-16 20:45:03 -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
};
};
}