Re-enable installer documentation
This commit is contained in:
parent
810ddc76af
commit
953770f339
@ -42,6 +42,8 @@ let
|
|||||||
options = {
|
options = {
|
||||||
inherit (commonOpts) system nixpkgs home-manager;
|
inherit (commonOpts) system nixpkgs home-manager;
|
||||||
# TODO: docCustom for home-manager?
|
# TODO: docCustom for home-manager?
|
||||||
|
# Not possible I think, the doc generation code only ever includes its own modules...
|
||||||
|
# (https://github.com/nix-community/home-manager/blob/0232fe1b75e6d7864fd82b5c72f6646f87838fc3/docs/default.nix#L37)
|
||||||
homeDirectory = mkOpt' str null "Absolute path to home directory.";
|
homeDirectory = mkOpt' str null "Absolute path to home directory.";
|
||||||
username = mkOpt' str null "Username for the configuration.";
|
username = mkOpt' str null "Username for the configuration.";
|
||||||
|
|
||||||
|
@ -98,6 +98,7 @@ let
|
|||||||
inherit (commonOpts) system nixpkgs home-manager;
|
inherit (commonOpts) system nixpkgs home-manager;
|
||||||
hmNixpkgs = commonOpts.nixpkgs;
|
hmNixpkgs = commonOpts.nixpkgs;
|
||||||
# This causes a (very slow) docs rebuild on every change to a module's options it seems
|
# 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.";
|
docCustom = mkBoolOpt' false "Whether to document nixfiles' custom NixOS modules.";
|
||||||
|
|
||||||
configuration = mkOption {
|
configuration = mkOption {
|
||||||
|
@ -80,9 +80,8 @@
|
|||||||
|
|
||||||
# Much of this onwards is yoinked from modules/profiles/installation-device.nix
|
# Much of this onwards is yoinked from modules/profiles/installation-device.nix
|
||||||
# Good to have docs in the installer!
|
# Good to have docs in the installer!
|
||||||
# TODO: docs rebuilding every time?
|
documentation.enable = mkForce true;
|
||||||
documentation.enable = mkForce false;
|
documentation.nixos.enable = mkForce true;
|
||||||
documentation.nixos.enable = mkForce false;
|
|
||||||
|
|
||||||
# Enable wpa_supplicant, but don't start it by default.
|
# Enable wpa_supplicant, but don't start it by default.
|
||||||
networking.wireless.enable = mkDefault true;
|
networking.wireless.enable = mkDefault true;
|
||||||
|
@ -65,6 +65,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
documentation = {
|
documentation = {
|
||||||
|
enable = mkDefault true;
|
||||||
nixos = {
|
nixos = {
|
||||||
enable = mkDefault true;
|
enable = mkDefault true;
|
||||||
options.warningsAreErrors = mkDefault false;
|
options.warningsAreErrors = mkDefault false;
|
||||||
|
Loading…
Reference in New Issue
Block a user