Files
clan-core/lib/modules/eval-docs.nix
Johannes Kirschbauer e1cb17db35 build-clan: export default.nix that injects clanLib
This should be the single entry point, that includes clanLib
instead of importApply propagation
2025-06-25 12:07:59 +02:00

22 lines
334 B
Nix

{
pkgs,
lib,
clanLib,
}:
let
eval = lib.evalModules {
class = "nixos";
modules = [
(import ./clan/default.nix { inherit clanLib; })
];
};
evalDocs = pkgs.nixosOptionsDoc {
options = eval.options;
warningsAreErrors = false;
};
in
{
inherit (evalDocs) optionsJSON optionsNix;
inherit eval;
}