arion/docs/options.nix
2019-10-25 01:10:01 +02:00

15 lines
273 B
Nix

{ pkgs ? import ../nix {} }:
let
eval = pkgs.lib.evalModules {
modules = import ../src/nix/modules.nix;
};
options = pkgs.nixosOptionsDoc {
options = eval.options;
};
in pkgs.writeText "agent-options" ''
= Arion options
${options.optionsAsciiDoc}
''