summaryrefslogtreecommitdiffstats
path: root/nixos/modules/profiles
diff options
context:
space:
mode:
authorSamuel Dionne-Riel <samuel@dionne-riel.com>2018-09-24 00:09:23 -0400
committerGitHub <noreply@github.com>2018-09-24 00:09:23 -0400
commitebf041d4bd3d63006ac4b0a5a3baa21b68110db4 (patch)
treee6e5eb954cd98b20b39f24adac8d8ad92c700768 /nixos/modules/profiles
parent2162bebb85d55c5af81cbe0c2b3b0bc28921089c (diff)
parent0f3b89bbedc1a33cc1fc3c142e235da2c64614c3 (diff)
Merge pull request #46193 from oxij/nixos/manual-to-doc
nixos: doc: implement #12542
Diffstat (limited to 'nixos/modules/profiles')
-rw-r--r--nixos/modules/profiles/installation-device.nix2
-rw-r--r--nixos/modules/profiles/minimal.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/profiles/installation-device.nix b/nixos/modules/profiles/installation-device.nix
index ff4a23a18d06..22d1af426948 100644
--- a/nixos/modules/profiles/installation-device.nix
+++ b/nixos/modules/profiles/installation-device.nix
@@ -22,7 +22,7 @@ with lib;
config = {
# Enable in installer, even if the minimal profile disables it.
- services.nixosManual.enable = mkForce true;
+ documentation.nixos.enable = mkForce true;
# Show the manual.
services.nixosManual.showManual = true;
diff --git a/nixos/modules/profiles/minimal.nix b/nixos/modules/profiles/minimal.nix
index ed04e46c77d1..dd81e61460cf 100644
--- a/nixos/modules/profiles/minimal.nix
+++ b/nixos/modules/profiles/minimal.nix
@@ -12,7 +12,7 @@ with lib;
i18n.supportedLocales = [ (config.i18n.defaultLocale + "/UTF-8") ];
documentation.enable = mkDefault false;
- services.nixosManual.enable = mkDefault false;
+ documentation.nixos.enable = mkDefault false;
sound.enable = mkDefault false;
}