Add openssh config

This commit is contained in:
cubernetes 2026-10-03 17:15:15 +02:00
parent 59d2cedafc
commit 81068577fa

View file

@ -460,6 +460,18 @@ with lib;
documentation.dev.enable = true;
services.openssh = {
enable = true;
openFirewall = true;
settings = {
PasswordAuthentication = true;
KbdInteractiveAuthentication = false;
PermitRootLogin = "no";
AllowUsers = [ "tsi" ];
MaxAuthTries = 30;
};
};
services.power-profiles-daemon.enable = true;
environment.localBinInPath = true;