2024-03-29 09:05:08 +03:00
|
|
|
{ lib, ... }: {
|
2024-05-04 23:15:57 +03:00
|
|
|
# Force specific PW for this host.
|
2024-03-29 09:05:08 +03:00
|
|
|
users.users.root.hashedPassword = lib.mkForce "$y$j9T$d4HfwutZr.eNHuLJYRuro/$7swZfgCNS6jEXHFCxsW5um/68jX9BRiiZD1BYcm/gD/";
|
2024-05-04 23:15:57 +03:00
|
|
|
|
|
|
|
# Allow login with PW for others.
|
|
|
|
# services.openssh.settings.PasswordAuthentication = lib.mkForce true;
|
|
|
|
# services.openssh.settings.PermitRootLogin = lib.mkForce "yes";
|
2024-03-29 09:05:08 +03:00
|
|
|
}
|