nixos-config/homes/common/starship-rs/default.nix

34 lines
720 B
Nix
Raw Permalink Normal View History

2024-10-30 07:45:40 +01:00
{
pkgs,
config,
lib,
...
}:
with lib;
2024-10-31 06:08:05 +01:00
with config.lib.stylix.colors.withHashtag;
2024-10-30 07:45:40 +01:00
{
programs.starship = {
enable = true;
2024-10-31 06:08:05 +01:00
# 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;
};
};
2024-10-30 07:45:40 +01:00
};
2024-10-31 06:08:05 +01:00
2024-10-30 07:45:40 +01:00
}