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,8 +13,14 @@
home-manager.users.${user.username} = { home-manager.users.${user.username} = {
programs.starship = { programs.starship = {
enable = true; # Enables Starship and adds init to shell configs enable = true; # Enables Starship and adds init to shell configs
customConfig = '' # Simple settings (flat Nix attributes)
add_newline = false settings = {
add_newline = false;
};
};
# Provide a full starship.toml via xdg.configFile
xdg.configFile."starship.toml".text = ''
format = "$all" format = "$all"
[character] [character]
@@ -31,7 +37,6 @@
style = "bold purple" style = "bold purple"
format = "[$symbol$branch]($style) " format = "[$symbol$branch]($style) "
''; '';
};
# Optional: Manually ensure Starship init is in shell configs # Optional: Manually ensure Starship init is in shell configs
xdg.configFile."bashrc".text = lib.concatStringsSep "\n" [ xdg.configFile."bashrc".text = lib.concatStringsSep "\n" [