docs: Use lib.evalModules
This commit is contained in:
parent
60f3f34527
commit
da83692996
1 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue