feat: add test code to assert if k3s is running

This commit is contained in:
Chris Kruining 2025-11-05 10:46:20 +01:00
parent 80cfd36fdf
commit f2bb2757b8
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2

View file

@ -77,6 +77,21 @@ in
}; };
in in
{ {
assertions =
let
inherit (lib) attrValues any;
in
[
{
assertion =
config.services.k3s.enable == true;
# config.clan.inventory.instances
# |> attrValues
# |> any ({ module, ... }: module.name == "k3s");
message = "This module requires k3s in order to run";
}
];
clan.core.vars.generators.zitadel = { clan.core.vars.generators.zitadel = {
share = false; share = false;