1
0
mirror of https://github.com/Andrey0189/nixos-config-reborn.git synced 2025-09-15 10:06:00 +03:00

add starship configuration

This commit is contained in:
andrey_varnavskiy
2024-11-26 16:14:58 +05:00
parent c8f3602eae
commit d450da1694
3 changed files with 28 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
{ {
imports = [ imports = [
./cursor.nix ./cursor.nix
./starship.nix
./git.nix ./git.nix
./hyprland ./hyprland
./zsh.nix ./zsh.nix

View File

@@ -0,0 +1,26 @@
{
programs.starship = {
enable = true;
enableZshIntegration = true;
settings = {
add_newline = true;
hostname = {
ssh_only = false;
format = "[$ssh_symbol$hostname]($style) ";
style = "bold purple";
};
character = {
success_symbol = "[ & ](bold green)";
error_symbol = "[ & ](bold red)";
};
username = {
show_always = true;
format = "[$user]($style)@";
};
directory = {
read_only = " 🔒";
truncation_symbol = "/";
};
};
};
}

View File

@@ -32,6 +32,7 @@
playerctl playerctl
ripgrep ripgrep
silicon silicon
starship
swww swww
tmux tmux
tree tree