Refactor(build-clan): rename to lib/modules

This is a preparation for moving everything into clan, to make it all one module evaluation
This commit is contained in:
Johannes Kirschbauer
2025-06-23 16:06:49 +02:00
parent b3c04ccd53
commit 247eb46b5e
18 changed files with 7 additions and 7 deletions

21
lib/modules/eval-docs.nix Normal file
View File

@@ -0,0 +1,21 @@
{
pkgs,
lib,
clanLib,
}:
let
eval = lib.evalModules {
class = "nixos";
modules = [
(lib.modules.importApply ./interface.nix { inherit clanLib; })
];
};
evalDocs = pkgs.nixosOptionsDoc {
options = eval.options;
warningsAreErrors = false;
};
in
{
inherit (evalDocs) optionsJSON optionsNix;
inherit eval;
}