summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorJan Malakhovski <oxij@oxij.org>2018-09-24 21:01:24 +0000
committerJan Malakhovski <oxij@oxij.org>2018-09-24 21:07:59 +0000
commit1a6ce11518af319e6029863a7f220c071ce5b467 (patch)
tree0da4981fcebdae88aab69fb1c48a91312a509a53 /nixos
parent3c0cced27208b2d80dc0a4b1e2637bf85d912388 (diff)
downloadnixlib-1a6ce11518af319e6029863a7f220c071ce5b467.tar
nixlib-1a6ce11518af319e6029863a7f220c071ce5b467.tar.gz
nixlib-1a6ce11518af319e6029863a7f220c071ce5b467.tar.bz2
nixlib-1a6ce11518af319e6029863a7f220c071ce5b467.tar.lz
nixlib-1a6ce11518af319e6029863a7f220c071ce5b467.tar.xz
nixlib-1a6ce11518af319e6029863a7f220c071ce5b467.tar.zst
nixlib-1a6ce11518af319e6029863a7f220c071ce5b467.zip
nixos: doc: fix minimal profile and installer configs
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/profiles/installation-device.nix2
-rw-r--r--nixos/modules/profiles/minimal.nix1
2 files changed, 1 insertions, 2 deletions
diff --git a/nixos/modules/profiles/installation-device.nix b/nixos/modules/profiles/installation-device.nix
index 22d1af426948..9c84d267a334 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.
-    documentation.nixos.enable = mkForce true;
+    documentation.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 dd81e61460cf..138eda117c74 100644
--- a/nixos/modules/profiles/minimal.nix
+++ b/nixos/modules/profiles/minimal.nix
@@ -12,7 +12,6 @@ with lib;
   i18n.supportedLocales = [ (config.i18n.defaultLocale + "/UTF-8") ];
 
   documentation.enable = mkDefault false;
-  documentation.nixos.enable = mkDefault false;
 
   sound.enable = mkDefault false;
 }