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

26 lines
462 B
Nix
Raw Normal View History

2024-11-16 20:45:03 -08:00
{
lib,
config,
...
}: let
cfg = config.marleyos.programs.starship;
in {
options.marleyos.programs.starship.enable = lib.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 = lib.mkIf cfg.enable {
2024-11-16 20:45:03 -08:00
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.enable = false;
2024-11-16 20:45:03 -08:00
};
};
}