124 lines
3.1 KiB
Nix
124 lines
3.1 KiB
Nix
{...}: {
|
||
programs.starship = {
|
||
enable = true;
|
||
enableTransience = true;
|
||
settings = {
|
||
c = {symbol = " ";};
|
||
command_timeout = 1000;
|
||
container = {symbol = " ";};
|
||
add_newline = false;
|
||
character = {
|
||
success_symbol = "[>](bold green)";
|
||
error_symbol = "[>](bold red)";
|
||
};
|
||
directory = {
|
||
truncation_length = 2;
|
||
fish_style_pwd_dir_length = 1;
|
||
read_only = " ";
|
||
truncate_to_repo = false;
|
||
};
|
||
line_break.disabled = false;
|
||
git_branch = {
|
||
symbol = " ";
|
||
only_attached = true;
|
||
ignore_branches = ["master" "main"];
|
||
};
|
||
git_commit = {
|
||
format = "[ $hash | $tag]($style) ";
|
||
tag_symbol = " ";
|
||
tag_disabled = false;
|
||
};
|
||
git_metrics.disabled = false;
|
||
git_status = {
|
||
stashed = " ";
|
||
ahead = " ";
|
||
behind = " ";
|
||
up_to_date = "";
|
||
diverged = " ";
|
||
conflicted = " ";
|
||
deleted = " ";
|
||
renamed = " ";
|
||
modified = " ";
|
||
staged = " ";
|
||
untracked = " ";
|
||
typechanged = " ";
|
||
};
|
||
golang = {symbol = " ";};
|
||
guix_shell = {symbol = " ";};
|
||
haskell = {symbol = " ";};
|
||
hostname = {
|
||
ssh_only = true;
|
||
ssh_symbol = " ";
|
||
};
|
||
java = {symbol = " ";};
|
||
localip = {disabled = false;};
|
||
lua = {symbol = " ";};
|
||
memory_usage = {
|
||
disabled = false;
|
||
symbol = " ";
|
||
};
|
||
nix_shell.symbol = " ";
|
||
os = {
|
||
disabled = false;
|
||
format = "on [$symbol]($style) ";
|
||
style = "bold blue";
|
||
symbols = {
|
||
Alpine = " ";
|
||
Android = " ";
|
||
Arch = " ";
|
||
CentOS = " ";
|
||
Debian = " ";
|
||
EndeavourOS = " ";
|
||
Fedora = " ";
|
||
FreeBSD = " ";
|
||
Gentoo = " ";
|
||
Illumos = " ";
|
||
Linux = " ";
|
||
Macos = " ";
|
||
Manjaro = " ";
|
||
Mint = " ";
|
||
NixOS = " ";
|
||
OpenBSD = " ";
|
||
openSUSE = " ";
|
||
Pop = " ";
|
||
Raspbian = " ";
|
||
Redhat = " ";
|
||
RedHatEnterprise = " ";
|
||
Solus = " ";
|
||
SUSE = " ";
|
||
Ubuntu = " ";
|
||
Unknown = " ";
|
||
Windows = " ";
|
||
};
|
||
};
|
||
package = {symbol = " ";};
|
||
python = {
|
||
symbol = " ";
|
||
python_binary = "python3";
|
||
};
|
||
rust = {symbol = " ";};
|
||
shell = {
|
||
disabled = false;
|
||
format = "using [$indicator ]($style)";
|
||
fish_indicator = " ";
|
||
nu_indicator = "ν";
|
||
};
|
||
status = {
|
||
disabled = false;
|
||
map_symbol = true;
|
||
pipestatus = true;
|
||
symbol = " ";
|
||
success_symbol = "";
|
||
not_executable_symbol = " ";
|
||
not_found_symbol = " ";
|
||
sigint_symbol = " ";
|
||
signal_symbol = " ";
|
||
};
|
||
sudo = {
|
||
disabled = false;
|
||
symbol = " ";
|
||
};
|
||
};
|
||
};
|
||
}
|