blob: b6082c1f3395116f079ac81e01b2d104ba198817 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{
config,
lib,
...
}: let
cfg = config.seth.programs.starship;
in {
options.seth.programs.starship = {
enable = lib.mkEnableOption "Starship configuration" // {default = config.seth.enable;};
};
config = lib.mkIf cfg.enable {
programs.starship = {
enable = true;
# i do this manually
catppuccin.enable = false;
enableBashIntegration = false;
enableZshIntegration = false;
settings =
{
format = "$all";
palette = "catppuccin_mocha";
command_timeout = 250;
}
// lib.importTOML ./starship.toml;
};
};
}
|