aboutsummaryrefslogtreecommitdiff
path: root/nix/users/profiles/starship.nix
blob: 8a541ceb9dda7bccd146495ff701c409e4a7a75c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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;
    };
  };
}