rework stirling-pdf to be more generic with test

This commit is contained in:
2025-07-31 10:40:31 +07:00
parent c5c8e0050d
commit 5109c3f4fa
6 changed files with 88 additions and 34 deletions

View File

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