summaryrefslogtreecommitdiffstats
path: root/nixos/modules/profiles
diff options
context:
space:
mode:
authorJan Malakhovski <oxij@oxij.org>2018-09-06 19:17:48 +0000
committerJan Malakhovski <oxij@oxij.org>2018-09-23 20:50:47 +0000
commit0f3b89bbedc1a33cc1fc3c142e235da2c64614c3 (patch)
tree5548b86bfadc118b5912d57b8815e0dc8cd16a26 /nixos/modules/profiles
parentfe744d3fb1d61e6f7f7c2f40217364f9577390ca (diff)
nixos: doc: move non-service parts of `service.nixosManual` to `documentation.nixos`
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;
}