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 {} }:
|
{ 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;
|
||||||
|
|
Loading…
Reference in a new issue