blob: edd35c77ddf10f234ac2ba796278a084f774c9fa (
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;
defaultText = lib.literalExpression "config.seth.enable";
};
};
config = lib.mkIf cfg.enable {
programs.starship = {
enable = true;
# i do this manually
catppuccin.enable = false;
enableBashIntegration = false;
enableFishIntegration = false;
enableZshIntegration = false;
settings = {
format = "$all";
palette = "catppuccin_mocha";
command_timeout = 250;
} // lib.importTOML ./starship.toml;
};
};
}
|