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
|
services.mingetty.helpLine = "\nRun `nixos-help` "
|
||||||
"\nPress <Alt-F${toString cfg.ttyNumber}> for the NixOS manual.";
|
+ lib.optionalString cfg.showManual "or press <Alt-F${toString cfg.ttyNumber}> "
|
||||||
|
+ "for the NixOS manual.";
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user