Working on termonal stuff
This commit is contained in:
+322
-322
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" [
|
||||||
|
|||||||
Reference in New Issue
Block a user