From 17e871833d66f7fc6a6fcab043e51b196f103855 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 26 Jul 2025 11:01:53 -0700 Subject: moved every programs under users/programs Configurations specific to work are managed in the work profile. --- users/programs/starship.nix | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 users/programs/starship.nix (limited to 'users/programs/starship.nix') diff --git a/users/programs/starship.nix b/users/programs/starship.nix new file mode 100644 index 0000000..8a541ce --- /dev/null +++ b/users/programs/starship.nix @@ -0,0 +1,40 @@ +{ ... }: +{ + programs.starship = { + enable = true; + settings = { + add_newline = false; + character = { + success_symbol = "[›](bold green)"; + error_symbol = "[›](bold red)"; + }; + directory = { + fish_style_pwd_dir_length = 3; + }; + git_branch = { + symbol = "🌱 "; + }; + git_commit = { + commit_hash_length = 4; + }; + git_status = { + deleted = "✗"; + modified = "✶"; + staged = "✓"; + stashed = "≡"; + }; + "$schema" = "https://starship.rs/config-schema.json"; + hostname = { + ssh_only = true; + }; + username = { + disabled = true; + }; + kubernetes = { + disabled = false; + style = "bold blue"; + }; + nix_shell.disabled = false; + }; + }; +} -- cgit v1.2.3