You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -68,8 +67,8 @@ We add two lightweight programs as an example:
68
67
];
69
68
```
70
69
71
-
:::{warning}
72
-
Do not use plain text passwords outside of this example unless you know what you are doing. See [`initialHashedPassword`](https://nixos.org/manual/nixos/stable/options.html#opt-users.extraUsers._name_.initialHashedPassword) or [`ssh.authorizedKeys`](https://nixos.org/manual/nixos/stable/options.html#opt-users.extraUsers._name_.openssh.authorizedKeys.keys) for more secure alternatives.
70
+
:::{note}
71
+
you can also use [`ssh.authorizedKeys`](https://nixos.org/manual/nixos/stable/options.html#opt-users.extraUsers._name_.openssh.authorizedKeys.keys) for passwordless login.
73
72
:::
74
73
75
74
(sample-nixos-config)=
@@ -86,7 +85,7 @@ The complete `configuration.nix` file looks like this:
86
85
users.users.alice = {
87
86
isNormalUser = true;
88
87
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
0 commit comments