nix/modules/ssh/default.nix
2024-06-20 14:37:32 +02:00

10 lines
169 B
Nix

{ config, inputs, pkgs, ... }:
{
services.openssh = {
enable = true;
settings.PasswordAuthentication = false;
settings.KbdInteractiveAuthentication = false;
};
}