Working on termonal stuff

This commit is contained in:
2026-03-07 23:18:19 +01:00
parent 08580a1cf3
commit 9ca8142ce8
2 changed files with 345 additions and 340 deletions
+322 -322
View File
File diff suppressed because it is too large Load Diff
@@ -13,26 +13,31 @@
home-manager.users.${user.username} = {
programs.starship = {
enable = true; # Enables Starship and adds init to shell configs
customConfig = ''
add_newline = false
format = "$all"
[character]
success_symbol = "[](bold green)"
error_symbol = "[](bold red)"
vicmd_symbol = "[](bold blue)"
[directory]
truncation_length = 3
style = "bold blue"
[git_branch]
symbol = " "
style = "bold purple"
format = "[$symbol$branch]($style) "
'';
# Simple settings (flat Nix attributes)
settings = {
add_newline = false;
};
};
# Provide a full starship.toml via xdg.configFile
xdg.configFile."starship.toml".text = ''
format = "$all"
[character]
success_symbol = "[](bold green)"
error_symbol = "[](bold red)"
vicmd_symbol = "[](bold blue)"
[directory]
truncation_length = 3
style = "bold blue"
[git_branch]
symbol = " "
style = "bold purple"
format = "[$symbol$branch]($style) "
'';
# Optional: Manually ensure Starship init is in shell configs
xdg.configFile."bashrc".text = lib.concatStringsSep "\n" [
"${config.programs.starship.extraInit}"