diff --git a/nixos/doc/manual/installation/installing.xml b/nixos/doc/manual/installation/installing.xml
index 4041b4ad163..0dbfb39c32b 100644
--- a/nixos/doc/manual/installation/installing.xml
+++ b/nixos/doc/manual/installation/installing.xml
@@ -24,8 +24,7 @@
- The NixOS manual is available on virtual console 8 (press Alt+F8 to access)
- or by running nixos-help.
+ The NixOS manual is available by running nixos-help.
diff --git a/nixos/modules/misc/documentation.nix b/nixos/modules/misc/documentation.nix
index 7b3f9c0fe9c..7ad4be9a02e 100644
--- a/nixos/modules/misc/documentation.nix
+++ b/nixos/modules/misc/documentation.nix
@@ -218,9 +218,7 @@ in
++ optionals config.services.xserver.enable [ desktopItem pkgs.nixos-icons ]);
services.mingetty.helpLine = mkIf cfg.doc.enable (
- "\nRun `nixos-help` "
- + optionalString config.services.nixosManual.showManual "or press "
- + "for the NixOS manual."
+ "\nRun 'nixos-help' for the NixOS manual."
);
})
diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix
index ccdc39eecd8..6ef915152b2 100644
--- a/nixos/modules/module-list.nix
+++ b/nixos/modules/module-list.nix
@@ -469,7 +469,6 @@
./services/misc/nix-daemon.nix
./services/misc/nix-gc.nix
./services/misc/nix-optimise.nix
- ./services/misc/nixos-manual.nix
./services/misc/nix-ssh-serve.nix
./services/misc/novacomd.nix
./services/misc/nzbget.nix
diff --git a/nixos/modules/profiles/installation-device.nix b/nixos/modules/profiles/installation-device.nix
index 4596e163404..06008d8a5e7 100644
--- a/nixos/modules/profiles/installation-device.nix
+++ b/nixos/modules/profiles/installation-device.nix
@@ -26,7 +26,6 @@ with lib;
# Show the manual.
documentation.nixos.enable = mkForce true;
- services.nixosManual.showManual = true;
# Let the user play Rogue on TTY 8 during the installation.
#services.rogue.enable = true;
diff --git a/nixos/modules/services/misc/nixos-manual.nix b/nixos/modules/services/misc/nixos-manual.nix
deleted file mode 100644
index ab73f49d4be..00000000000
--- a/nixos/modules/services/misc/nixos-manual.nix
+++ /dev/null
@@ -1,73 +0,0 @@
-# This module optionally starts a browser that shows the NixOS manual
-# on one of the virtual consoles which is useful for the installation
-# CD.
-
-{ config, lib, pkgs, ... }:
-
-with lib;
-
-let
- cfg = config.services.nixosManual;
- cfgd = config.documentation;
-in
-
-{
-
- options = {
-
- # TODO(@oxij): rename this to `.enable` eventually.
- services.nixosManual.showManual = mkOption {
- type = types.bool;
- default = false;
- description = ''
- Whether to show the NixOS manual on one of the virtual
- consoles.
- '';
- };
-
- services.nixosManual.ttyNumber = mkOption {
- type = types.int;
- default = 8;
- description = ''
- Virtual console on which to show the manual.
- '';
- };
-
- services.nixosManual.browser = mkOption {
- type = types.path;
- default = "${pkgs.w3m-nographics}/bin/w3m";
- description = ''
- Browser used to show the manual.
- '';
- };
-
- };
-
-
- config = mkMerge [
- (mkIf cfg.showManual {
- assertions = singleton {
- assertion = cfgd.enable && cfgd.nixos.enable;
- message = "Can't enable `services.nixosManual.showManual` without `documentation.nixos.enable`";
- };
- })
- (mkIf (cfg.showManual && cfgd.enable && cfgd.nixos.enable) {
- console.extraTTYs = [ "tty${toString cfg.ttyNumber}" ];
-
- systemd.services.nixos-manual = {
- description = "NixOS Manual";
- wantedBy = [ "multi-user.target" ];
- serviceConfig = {
- ExecStart = "${cfg.browser} ${config.system.build.manual.manualHTMLIndex}";
- StandardInput = "tty";
- StandardOutput = "tty";
- TTYPath = "/dev/tty${toString cfg.ttyNumber}";
- TTYReset = true;
- TTYVTDisallocate = true;
- Restart = "always";
- };
- };
- })
- ];
-
-}