Working on termonal stuff

This commit is contained in:
henrov committed 2026-03-07 23:16:45 +01:00
1 parent 2ba8de9d84
commit 08580a1cf3
1 file changed
+14 -6
@@ -1,4 +1,10 @@
{ config, pkgs, lib, user, ... }:
{
config,
pkgs,
lib,
user,
...
}:
{
# NixOS: Install Starship system-wide (optional)
environment.systemPackages = with pkgs; [ starship ];
@@ -7,22 +13,24 @@
home-manager.users.${user.username} = {
programs.starship = {
enable = true; # Enables Starship and adds init to shell configs
settings = {
# Example: Catppuccin Mocha theme
add_newline = false;
format = "$all";
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) "
};
'';
};
# Optional: Manually ensure Starship init is in shell configs