33 lines
720 B
Nix
33 lines
720 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
with lib;
|
|
with config.lib.stylix.colors.withHashtag;
|
|
|
|
{
|
|
programs.starship = {
|
|
enable = true;
|
|
# download presets from : https://starship.rs/presets/
|
|
settings = builtins.fromTOML ((builtins.readFile ./gruvbox-rainbow.toml)) // {
|
|
palettes.stylix = {
|
|
color_fg0 = base01;
|
|
color_terminal_fg = base05;
|
|
color_terminal_bg = base00;
|
|
color_bg1 = base04;
|
|
color_bg2 = base02;
|
|
color_bg3 = base03;
|
|
color_blue = base0D;
|
|
color_aqua = base0C;
|
|
color_green = base0B;
|
|
color_orange = base0F;
|
|
color_purple = base0E;
|
|
color_red = base08;
|
|
color_yellow = base0A;
|
|
};
|
|
};
|
|
};
|
|
|
|
}
|