1
0
forked from extern/nix-config

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:
Donovan Glover 2023-05-08 14:24:19 -04:00
parent c0810fd98e
commit 5e5f64dc80
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -109,7 +109,39 @@
services.xserver.desktopManager.gnome.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.hyprland.enable = true;
programs.git.enable = true;