nix/modules/ssh/default.nix

10 lines
169 B
Nix
Raw Normal View History

2024-06-20 14:37:32 +02:00
{ config, inputs, pkgs, ... }:
{
services.openssh = {
enable = true;
settings.PasswordAuthentication = false;
settings.KbdInteractiveAuthentication = false;
};
}