nixos/installation-device.nix: explain sshd usage
This commit is contained in:
parent
93a03177f2
commit
f71fd79ff0
@ -55,13 +55,16 @@ with lib;
|
|||||||
services.mingetty.autologinUser = "nixos";
|
services.mingetty.autologinUser = "nixos";
|
||||||
|
|
||||||
# Some more help text.
|
# Some more help text.
|
||||||
services.mingetty.helpLine =
|
services.mingetty.helpLine = ''
|
||||||
''
|
The "nixos" and "root" accounts have empty passwords.
|
||||||
|
|
||||||
The "nixos" and "root" account have empty passwords. ${
|
Type `sudo systemctl start sshd` to start the SSH daemon.
|
||||||
optionalString config.services.xserver.enable
|
You then must set a password for either "root" or "nixos"
|
||||||
"Type `sudo systemctl start display-manager' to\nstart the graphical user interface."}
|
with `passwd` to be able to login.
|
||||||
'';
|
'' + optionalString config.services.xserver.enable ''
|
||||||
|
Type `sudo systemctl start display-manager' to
|
||||||
|
start the graphical user interface.
|
||||||
|
'';
|
||||||
|
|
||||||
# Allow sshd to be started manually through "systemctl start sshd".
|
# Allow sshd to be started manually through "systemctl start sshd".
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user