2026-02-06 11:28:37 -05:00

25 lines
398 B
Nix

{
config,
lib,
pkgs,
...
}:
{
imports = [ ];
options.me = {
control_plane.enable = lib.mkOption {
type = lib.types.bool;
default = false;
example = true;
description = "Whether we want to install control_plane.";
};
};
config = lib.mkIf config.me.control_plane.enable {
me.kubernetes.enable = true;
me.kube_apiserver.enable = true;
};
}