dragnpkgs/support/render-doc.nix

15 lines
297 B
Nix

{ pkgs ? import <nixpkgs> {} }:
let
eval = import (pkgs.path + "/nixos/lib/eval-config.nix") {
# baseModules = [];
modules = [
./.
];
};
doc = pkgs.nixosOptionsDoc {
options.services.ghidra-server = eval.options.services.ghidra-server;
};
in
doc.optionsCommonMark