docs: Use lib.evalModules

This commit is contained in:
Robert Hensing 2019-10-25 00:54:40 +02:00
parent 60f3f34527
commit da83692996

View file

@ -1,9 +1,8 @@
{ pkgs ? import ../nix {} }:
let
eval = import (pkgs.path + "/nixos/lib/eval-config.nix") {
baseModules = import ../src/nix/modules.nix;
modules = [];
eval = pkgs.lib.evalModules {
modules = import ../src/nix/modules.nix;
};
options = pkgs.nixosOptionsDoc {
options = eval.options;