rework victoriametrics to be more generic with test

This commit is contained in:
2025-07-31 15:56:46 +07:00
parent 5109c3f4fa
commit cc628f47b7
11 changed files with 176 additions and 52 deletions

View File

@@ -0,0 +1,19 @@
{ lib, ... }:
let
module = lib.modules.importApply ./default.nix { };
in
{
clan.modules = {
victoriametrics = module;
};
perSystem =
{ ... }:
{
clan.nixosTests.victoriametrics = {
imports = [ ./tests/vm/default.nix ];
clan.modules."@clan/victoriametrics" = module;
};
};
}