18 lines
264 B
Nix
18 lines
264 B
Nix
{ config, lib, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./crossplane.nix
|
|
./talos.nix
|
|
];
|
|
|
|
options.k8s.enable = lib.mkOption {
|
|
default = false;
|
|
type = lib.types.bool;
|
|
};
|
|
|
|
config = lib.mkIf config.k8s.enable {
|
|
k8s.talos.enable = lib.mkDefault true;
|
|
};
|
|
}
|