nixfiles/common/ssh.nix

11 lines
168 B
Nix

{ config, lib, pkgs, ... }:
{
programs.ssh = {
enable = true;
settings = {
PasswordAuthentication = false;
PermitRootLogin = "no";
};
};
}