Skip to content

Instantly share code, notes, and snippets.

@eraserhd
Created July 19, 2019 19:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eraserhd/34e462586482bab68a4e1b84e8351f50 to your computer and use it in GitHub Desktop.
Save eraserhd/34e462586482bab68a4e1b84e8351f50 to your computer and use it in GitHub Desktop.
config = {
environment.systemPackages = mkIf cfg.enable [ kubectlWrapper pkgs."2u".ops-tools ];
nixpkgs.overlays = [ (self: super: {
"2u" = super."2u" // {
kubectl-config = (import ../../pkgs/kubectl-config { stdenv = super.stdenv; }).override { configure = cfg; };
};
}) ];
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment