aboutsummaryrefslogtreecommitdiff
path: root/nix/users/profiles/starship.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-07-21 08:21:06 -0700
committerFranck Cuny <franck@fcuny.net>2025-07-21 08:30:16 -0700
commit28b6dbb543ffbd3bfdc90a3b45835d784963175b (patch)
tree5b918d96743426a5355884ae3cbc77247abf2b04 /nix/users/profiles/starship.nix
parentinstall helpers for docker (diff)
downloadinfra-28b6dbb543ffbd3bfdc90a3b45835d784963175b.tar.gz
make the configuration more specific
Diffstat (limited to 'nix/users/profiles/starship.nix')
-rw-r--r--nix/users/profiles/starship.nix40
1 files changed, 40 insertions, 0 deletions
diff --git a/nix/users/profiles/starship.nix b/nix/users/profiles/starship.nix
new file mode 100644
index 0000000..8a541ce
--- /dev/null
+++ b/nix/users/profiles/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;
+ };
+ };
+}