Reorganise kubernetes module

This commit is contained in:
Pim Kunis 2024-12-01 15:05:01 +01:00
parent 63e1c46239
commit 93a0fa6a03
11 changed files with 139 additions and 112 deletions

View file

@ -0,0 +1,17 @@
{
lib,
config,
...
}: {
imports = [
./k3s
./storage.nix
];
config = lib.mkIf (builtins.elem "kubernetes" config.deployment.tags) {
pim = {
k3s.enable = true;
hasK8sStorageSetup = true;
};
};
}