aboutsummaryrefslogtreecommitdiff
path: root/users/programs/kubie.nix
blob: 5ac86788d38d062f12c79c5a0a1f38e2009bd24c (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
{ pkgs, ... }:
{
  home.packages = with pkgs; [
    kubie # kubeconfig browser https://github.com/sbstp/kubie
  ];

  home.file.kubie = {
    target = ".kube/kubie.yaml";
    text = ''
      shell: fish
      configs:
        include:
          - ~/.kube/rksconfig
      prompt:
        fish_use_rprompt: false
    '';
  };

  programs.fish = {
    shellAbbrs = {
      kctx = "kubie ctx";
    };
  };
}