mlaga97-nix/nixos/features/openssh-server.nix

10 lines
206 B
Nix

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