Re-enable installer documentation

This commit is contained in:
2022-02-21 01:15:27 +00:00
parent 810ddc76af
commit 953770f339
4 changed files with 6 additions and 3 deletions

View File

@@ -98,6 +98,7 @@ let
inherit (commonOpts) system nixpkgs home-manager;
hmNixpkgs = commonOpts.nixpkgs;
# This causes a (very slow) docs rebuild on every change to a module's options it seems
# TODO: Currently broken with infinite recursion...
docCustom = mkBoolOpt' false "Whether to document nixfiles' custom NixOS modules.";
configuration = mkOption {

View File

@@ -80,9 +80,8 @@
# Much of this onwards is yoinked from modules/profiles/installation-device.nix
# Good to have docs in the installer!
# TODO: docs rebuilding every time?
documentation.enable = mkForce false;
documentation.nixos.enable = mkForce false;
documentation.enable = mkForce true;
documentation.nixos.enable = mkForce true;
# Enable wpa_supplicant, but don't start it by default.
networking.wireless.enable = mkDefault true;

View File

@@ -65,6 +65,7 @@ in
};
documentation = {
enable = mkDefault true;
nixos = {
enable = mkDefault true;
options.warningsAreErrors = mkDefault false;