mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-18 15:46:43 +02:00
nix: Add starship config
Similar to fish, there's some relief in knowing that I can declare my starship settings in Nix and have them accessible from any user on the machine, even root.
This commit is contained in:
parent
c0810fd98e
commit
5e5f64dc80
@ -109,7 +109,39 @@
|
|||||||
services.xserver.desktopManager.gnome.enable = true;
|
services.xserver.desktopManager.gnome.enable = true;
|
||||||
programs.thunar.enable = true;
|
programs.thunar.enable = true;
|
||||||
|
|
||||||
programs.starship.enable = true;
|
programs.starship = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
add_newline = false;
|
||||||
|
directory = {
|
||||||
|
style = "purple";
|
||||||
|
read_only = " ro";
|
||||||
|
};
|
||||||
|
|
||||||
|
git_branch = {
|
||||||
|
style = "yellow";
|
||||||
|
symbol = "";
|
||||||
|
};
|
||||||
|
|
||||||
|
character = {
|
||||||
|
#success_symbol = "[➤](red)[➤](green)[➤](blue)";
|
||||||
|
#error_symbol = "[➤](cyan)[➤](purple)[➤](yellow)";
|
||||||
|
success_symbol = "[>](red)[>](green)[>](blue)";
|
||||||
|
error_symbol = "[>](cyan)[>](purple)[>](yellow)";
|
||||||
|
vicmd_symbol = "[<](bold green)";
|
||||||
|
};
|
||||||
|
|
||||||
|
line_break = { disabled = true; };
|
||||||
|
|
||||||
|
nodejs = {
|
||||||
|
format = "with [$symbol($version )]($style)";
|
||||||
|
symbol = "node ";
|
||||||
|
version_format = "\${major}";
|
||||||
|
disabled = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
};
|
||||||
programs.neovim.enable = true;
|
programs.neovim.enable = true;
|
||||||
programs.hyprland.enable = true;
|
programs.hyprland.enable = true;
|
||||||
programs.git.enable = true;
|
programs.git.enable = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user