nix_files/commons/home-manager/starship.nix
2025-02-07 00:17:32 +01:00

32 lines
752 B
Nix

{ ... }: {
programs.starship = {
enable = true;
settings = {
add_newline = false;
command_timeout = 1300;
scan_timeout = 50;
format = "$username@$hostname:$directory$character";
hostname = {
disabled = false;
format = "[$ssh_symbol](blue dimmed bold)[$hostname]($style)";
ssh_only = false;
style = "green dimmed bold";
};
username = {
format = "[$user]($style)";
show_always = true;
style_root = "red bold bg:0x9A348E";
style_user = "yellow bold bg:0x9A348E";
disabled = false;
};
character = {
success_symbol = "[](bold green)";
error_symbol = "[](bold red)";
};
};
};
}