aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules/profiles
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2019-06-25 16:08:58 +0200
committerFlorian Klink <flokli@flokli.de>2019-08-19 16:34:06 +0200
commitf71fd79ff0759f6e85b386e6ae212b15047a6813 (patch)
tree58471cf3c7c743a5b755a6fb79d9a0b6a70f015c /nixos/modules/profiles
parent93a03177f25d86757d484340c51745b66a88ffc6 (diff)
nixos/installation-device.nix: explain sshd usage
Diffstat (limited to 'nixos/modules/profiles')
-rw-r--r--nixos/modules/profiles/installation-device.nix17
1 files changed, 10 insertions, 7 deletions
diff --git a/nixos/modules/profiles/installation-device.nix b/nixos/modules/profiles/installation-device.nix
index 1a6e0699560..fd30220ce1c 100644
--- a/nixos/modules/profiles/installation-device.nix
+++ b/nixos/modules/profiles/installation-device.nix
@@ -55,13 +55,16 @@ with lib;
services.mingetty.autologinUser = "nixos";
# Some more help text.
- services.mingetty.helpLine =
- ''
-
- The "nixos" and "root" account have empty passwords. ${
- optionalString config.services.xserver.enable
- "Type `sudo systemctl start display-manager' to\nstart the graphical user interface."}
- '';
+ services.mingetty.helpLine = ''
+ The "nixos" and "root" accounts have empty passwords.
+
+ Type `sudo systemctl start sshd` to start the SSH daemon.
+ You then must set a password for either "root" or "nixos"
+ 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".
services.openssh = {