mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
65 lines
2 KiB
Nix
65 lines
2 KiB
Nix
{ config, ... }:
|
|
{
|
|
programs.starship =
|
|
let
|
|
raisin_black = "#262932";
|
|
blood_red = "#710000";
|
|
rich_lemon = "#FDF500";
|
|
keppel = "#1AC5B0";
|
|
electric_blue = "#36EBF3";
|
|
blushing_purple = "#9370DB";
|
|
frostbite = "#E455AE";
|
|
steel_pink = "#CB1DCD";
|
|
pale_silver = "#D1C5C0";
|
|
in
|
|
{
|
|
enable = true;
|
|
enableZshIntegration = true;
|
|
enableNushellIntegration = true;
|
|
settings = {
|
|
format = "[ ](${rich_lemon})[ CrOS](bg:${rich_lemon} fg:${raisin_black})$username$hostname[ ](fg:${rich_lemon} bg:${blushing_purple})$directory[ ](fg:${blushing_purple} bg:${frostbite})[ ](fg:${frostbite} bg:${steel_pink})$nix_shell[ ](${steel_pink})";
|
|
right_format = "[ ](${rich_lemon})$time[ ](${rich_lemon})";
|
|
|
|
# Left Modules
|
|
username = {
|
|
disabled = false;
|
|
format = "[ $user]($style)";
|
|
style_user = "fg:${keppel} bg:${rich_lemon}";
|
|
style_root = "fg:${blood_red} bg:${rich_lemon}";
|
|
};
|
|
hostname = {
|
|
disabled = false;
|
|
format = "[@$hostname ]($style)";
|
|
style = "fg:${keppel} bg:${rich_lemon}";
|
|
ssh_only = false;
|
|
ssh_symbol = "";
|
|
};
|
|
directory = {
|
|
disabled = false;
|
|
format = "[ $path ]($style)";
|
|
style = "bg:${blushing_purple} fg:${raisin_black}";
|
|
truncation_length = 3;
|
|
truncation_symbol = "…/";
|
|
};
|
|
|
|
git_commit.disabled = true;
|
|
git_metrics.disabled = true;
|
|
git_branch.disabled = true;
|
|
git_status.disabled = true;
|
|
|
|
nix_shell = {
|
|
disabled = false;
|
|
format = "[$symbol $name]($style)";
|
|
style = "bg:${steel_pink} fg:${electric_blue}";
|
|
symbol = "";
|
|
};
|
|
|
|
# Right Modules
|
|
time = {
|
|
disabled = false;
|
|
format = "[$time]($style)";
|
|
style = "fg:${raisin_black} bg:${rich_lemon}";
|
|
};
|
|
};
|
|
};
|
|
}
|