From 08580a1cf3c68a30c23d6807e6876c65158d7cfb Mon Sep 17 00:00:00 2001 From: "info@data-pro.nu" Date: Sat, 7 Mar 2026 23:16:45 +0100 Subject: [PATCH] Working on termonal stuff --- .../applications/terminal_shell/starship.nix | 22 +++++++++++++------ 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/Droidnix/generated/system/applications/terminal_shell/starship.nix b/Droidnix/generated/system/applications/terminal_shell/starship.nix index f1a297bd5..673d3601f 100644 --- a/Droidnix/generated/system/applications/terminal_shell/starship.nix +++ b/Droidnix/generated/system/applications/terminal_shell/starship.nix @@ -1,4 +1,10 @@ -{ config, pkgs, lib, user, ... }: +{ + config, + pkgs, + lib, + user, + ... +}: { # NixOS: Install Starship system-wide (optional) environment.systemPackages = with pkgs; [ starship ]; @@ -6,23 +12,25 @@ # Home Manager: Configure Starship for the user 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"; + 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) " - }; + ''; }; # Optional: Manually ensure Starship init is in shell configs