summaryrefslogtreecommitdiffstats
path: root/nixos/modules/profiles
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2023-04-01 12:33:27 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2023-04-08 20:18:28 +0200
commit54731a8cea6d8b9d4fcb9ca7cbfc75ae1e07a171 (patch)
tree87a2a5c6731f242c5fa5ef5bf19d0a824b1270fe /nixos/modules/profiles
parentbc3272f51e3cf4433f6ffe62c8307e92c35fb997 (diff)
nixos/installer: update getty help message
I think this is clearer.
Diffstat (limited to 'nixos/modules/profiles')
-rw-r--r--nixos/modules/profiles/installation-device.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/profiles/installation-device.nix b/nixos/modules/profiles/installation-device.nix
index 514ec06645ed..32884f4b8754 100644
--- a/nixos/modules/profiles/installation-device.nix
+++ b/nixos/modules/profiles/installation-device.nix
@@ -52,9 +52,9 @@ with lib;
services.getty.helpLine = ''
The "nixos" and "root" accounts have empty passwords.
- An ssh daemon is running. You then must set a password
- for either "root" or "nixos" with `passwd` or add an ssh key
- to /home/nixos/.ssh/authorized_keys be able to login.
+ To log in over ssh you must set a password for either "nixos" or "root"
+ with `passwd` (prefix with `sudo` for "root"), or add your public key to
+ /home/nixos/.ssh/authorized_keys or /root/.ssh/authorized_keys.
If you need a wireless connection, type
`sudo systemctl start wpa_supplicant` and configure a