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:
@@ -1,6 +1,7 @@
|
||||
{
|
||||
imports = [
|
||||
./cursor.nix
|
||||
./starship.nix
|
||||
./git.nix
|
||||
./hyprland
|
||||
./zsh.nix
|
||||
|
26
home-manager/modules/starship.nix
Normal file
26
home-manager/modules/starship.nix
Normal 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 = "…/";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user