blob: c1bbdacf28678792752d4f6c5a279e869bd3b395 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
{ config, pkgs, lib, ... }: {
# Define a user account. Don't forget to set a password with 'passwd'.
users = {
users.root = {
hashedPassword = "$y$j9T$YtRkFL3JLAB/zfyr89aFp.$of1IUt84c2i26l6GQWHO2qX0dNiPDZgVGpaNPVyAs24";
openssh.authorizedKeys.keys = config.users.users.defin.openssh.authorizedKeys.keys;
};
};
services.openssh.settings.PasswordAuthentication = false;
}
|