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 = [
|
imports = [
|
||||||
./cursor.nix
|
./cursor.nix
|
||||||
|
./starship.nix
|
||||||
./git.nix
|
./git.nix
|
||||||
./hyprland
|
./hyprland
|
||||||
./zsh.nix
|
./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 = "…/";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@@ -32,6 +32,7 @@
|
|||||||
playerctl
|
playerctl
|
||||||
ripgrep
|
ripgrep
|
||||||
silicon
|
silicon
|
||||||
|
starship
|
||||||
swww
|
swww
|
||||||
tmux
|
tmux
|
||||||
tree
|
tree
|
||||||
|
Reference in New Issue
Block a user