Files
nix/hosts/common/global/ssh.nix
T
Miguel Palhas 8001c55931 Adding ssh
2024-10-06 11:52:19 +01:00

12 lines
202 B
Nix

{ pkgs, ... }:
{
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
PermitRootLogin = "no";
};
};
}