summaryrefslogtreecommitdiffstats
path: root/nixos/modules/profiles
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2023-04-01 12:45:26 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2023-04-08 20:16:16 +0200
commitbc3272f51e3cf4433f6ffe62c8307e92c35fb997 (patch)
treea1e79f2a55e5663939af2103fdb726d54e1a677d /nixos/modules/profiles
parent7f3f7ec38154b9f4eb551a67bfe4214db43d4200 (diff)
nixos/installation-device.nix: improve comment about ssh login
root is not the only user that can login (user "nixos" can too), so generalize the wording.
Diffstat (limited to 'nixos/modules/profiles')
-rw-r--r--nixos/modules/profiles/installation-device.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/profiles/installation-device.nix b/nixos/modules/profiles/installation-device.nix
index 980720691a43..514ec06645ed 100644
--- a/nixos/modules/profiles/installation-device.nix
+++ b/nixos/modules/profiles/installation-device.nix
@@ -65,8 +65,8 @@ with lib;
start the graphical user interface.
'';
- # We run sshd by default. Login via root is only possible after adding a
- # password via "passwd" or by adding a ssh key to /home/nixos/.ssh/authorized_keys.
+ # We run sshd by default. Login is only possible after adding a
+ # password via "passwd" or by adding a ssh key to ~/.ssh/authorized_keys.
# The latter one is particular useful if keys are manually added to
# installation device for head-less systems i.e. arm boards by manually
# mounting the storage in a different system.