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

      settings = lib.mkMerge [
        {
          directory = {
            fish_style_pwd_dir_length = 2;
            style = "bold blue";
          };
          jobs.symbol = "+ ";
          nix_shell.style = "bold blue";
          package = {
            disabled = true;
            style = "bold green";
          };
          rust.style = "bold dimmed yellow";
        }

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