nix-config/modules/mixins/openssh.nix

14 lines
209 B
Nix

{ lib, ... }:
{
services.openssh = {
enable = true;
openFirewall = lib.mkForce true;
settings = {
PasswordAuthentication = false;
PermitRootLogin = lib.mkForce "no";
};
};
}