rework victoriametrics to be more generic with test

This commit is contained in:
kurogeek committed 2025-07-31 15:56:46 +07:00
1 parent 5109c3f4fa
commit cc628f47b7
11 files changed
+176 -52

No files matched your search

@@ -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;
};
};
}