3
0
Fork 0
forked from mirrors/nixpkgs

nixos-manual service: show nixos-help option

Part of improving accessibility (#30760). Makes the manual easier to
access e.g. on serial consoles.
This commit is contained in:
Linus Heckemann 2017-10-25 10:13:33 +01:00
parent 0ddc8a303b
commit b2c5075e8a

View file

@ -135,8 +135,9 @@ in
};
};
services.mingetty.helpLine = mkIf cfg.showManual
"\nPress <Alt-F${toString cfg.ttyNumber}> for the NixOS manual.";
services.mingetty.helpLine = "\nRun `nixos-help` "
+ lib.optionalString cfg.showManual "or press <Alt-F${toString cfg.ttyNumber}> "
+ "for the NixOS manual.";
};