arion/docs/options.nix

17 lines
324 B
Nix
Raw Normal View History

2019-10-24 19:36:58 +02:00
{ pkgs ? import ../nix {} }:
let
eval = import (pkgs.path + "/nixos/lib/eval-config.nix") {
2019-10-25 00:32:59 +02:00
baseModules = import ../src/nix/modules.nix;
2019-10-24 19:36:58 +02:00
modules = [];
};
options = pkgs.nixosOptionsDoc {
options = eval.options;
};
in pkgs.writeText "agent-options" ''
= Arion options
${options.optionsAsciiDoc}
''