2020-12-05 16:42:49 +01:00
|
|
|
{ config, ... }:
|
2020-08-22 17:44:39 +02:00
|
|
|
{
|
|
|
|
services.openssh = {
|
|
|
|
enable = true;
|
|
|
|
permitRootLogin = "yes";
|
|
|
|
passwordAuthentication = false;
|
|
|
|
};
|
|
|
|
|
2020-12-05 16:42:49 +01:00
|
|
|
users.users.root.openssh.authorizedKeys.keys = config.sbruder.pubkeys.trustedKeys;
|
2020-08-22 17:44:39 +02:00
|
|
|
}
|