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 {} }: { pkgs ? import ../nix {} }:
let let
eval = import (pkgs.path + "/nixos/lib/eval-config.nix") { eval = pkgs.lib.evalModules {
baseModules = import ../src/nix/modules.nix; modules = import ../src/nix/modules.nix;
modules = [];
}; };
options = pkgs.nixosOptionsDoc { options = pkgs.nixosOptionsDoc {
options = eval.options; options = eval.options;