summaryrefslogtreecommitdiffstats
path: root/common/commandline/starship.nix
blob: 5983d2e31fcfa51542ed1b1a7573bb1385c7c9c2 (plain)
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
inputs: {lib, ...}: {
  home-manager.users.minijackson = {
    programs.starship = {
      enable = true;
      enableZshIntegration = true;

      settings = lib.mkMerge [
        {
          directory = {
            fish_style_pwd_dir_length = 2;
            repo_root_style = "bold cyan";
            style = "bold white";
            truncate_to_repo = false;
          };

          jobs.symbol = "+ ";

          nix_shell.style = "bold blue";
          package.style = "bold green";
          rust.style = "bold dimmed yellow";
        }

        (lib.importTOML ./starship-plain-text-symbols.toml)
      ];
    };
  };
}