nixos-dotfiles/home/seanomik/k8s-tools.nix

22 lines
521 B
Nix

{ config, pkgs, ... }:
{
home-manager.users.seanomik.home.packages = with pkgs; [
kubectl kubernetes-helm kustomize fluxcd kustomize-sops sops
];
home-manager.users.seanomik.home = {
sessionVariables = {
KUBE_EDITOR = "vim";
EDITOR = "vim";
};
shellAliases = {
k = "kubectl";
kg = "kubectl get";
kgpo = "kubectl get pod";
krm = "kubectl delete";
kgwf = "kubectl get --watch -f";
kn = "kubectl config set-context --current --namespace";
};
};
}