Re-enable installer documentation
This commit is contained in:
@@ -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 {
|
||||
|
@@ -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;
|
||||
|
@@ -65,6 +65,7 @@ in
|
||||
};
|
||||
|
||||
documentation = {
|
||||
enable = mkDefault true;
|
||||
nixos = {
|
||||
enable = mkDefault true;
|
||||
options.warningsAreErrors = mkDefault false;
|
||||
|
Reference in New Issue
Block a user