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:
parent
0ddc8a303b
commit
b2c5075e8a
|
@ -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.";
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue