kubes/shell.nix

12 lines
196 B
Nix

{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
nativeBuildInputs = [
pkgs.bashInteractive
pkgs.kubectl
];
shellHook = ''
export KUBECONFIG=$PWD/cluster-admin.kubeconfig
'';
}