aboutsummaryrefslogblamecommitdiff
path: root/nix/profiles/home-manager/work.nix
blob: f60c8fcc60e0813c0fb85a062631a6d8a5abeccc (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                


                              
                          
 
                                                     



                              
 



                                                             
                                
                         




              




                                



                                

                
                                                                                                      



                              
 
{ pkgs, ... }: {

  home.stateVersion = "23.05";

  imports = [ ./mac.nix ];

  programs.git = { userEmail = "fcuny@roblox.com"; };

  home.packages = with pkgs; [
    gh # github cli tool
    kind # k8s in docker

    kubebuilder # generate controller
    kubectl
    kubernetes-helm # deploy applications
    kubie # kubeconfig browser https://github.com/sbstp/kubie
    kubelogin-oidc # OIDC plugin
    k9s # object explorer

    boundary
    nomad-pack
  ];

  programs.fish.shellAliases = {
    k = "kubectl";
    kctx = "kubie ctx";
  };

  home.file.kubie = {
    target = ".kube/kubie.yaml";
    text = ''
      shell: fish
      configs:
        include:
          - ~/.kube/rksconfig # https://raw.github.rbx.com/Roblox/cell-lifecycle/master/rks/kubeconfig
      prompt:
        fish_use_rprompt: true
    '';
  };
}