home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 5e2211c446ea8d70d54f44a89c98098141794f65
parent d7ba801163a150cbfefa6310184233226f0b1493
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Fri, 13 Dec 2019 17:18:47 +0100

profiles.kubernetes: add kind option

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mmachines/wakasu.nix | 1+
Mmodules/profiles/kubernetes.nix | 8++++++++
2 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/machines/wakasu.nix b/machines/wakasu.nix @@ -18,6 +18,7 @@ profiles.containers.kubernetes = { enable = true; krew.enable = true; + kind.enable = true; }; programs = { google-chrome.enable = true; diff --git a/modules/profiles/kubernetes.nix b/modules/profiles/kubernetes.nix @@ -16,6 +16,9 @@ in krew = { enable = mkEnableOption "Enable krew"; }; + kind = { + enable = mkEnableOption "Enable kind"; + }; minikube = { enable = mkEnableOption "Enable minikube"; package = mkOption { @@ -51,6 +54,11 @@ in docker-machine-kvm2 ]; }) + (mkIf cfg.kind.enable { + home.packages = with pkgs; [ + kind + ]; + }) (mkIf (!config.profiles.containers.openshift.enable) { home.packages = with pkgs; [ kubectl ]; })