summary refs log tree commit diff stats
path: root/modules/ssh.nix
blob: 44580d7ae45dcc37b4eb616bf7e81ad62d193fc4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
{ config, libs, pkgs, ... }:
{

  services.openssh = {
    enable = true;
    settings.PasswordAuthentication = false;
  };
  networking.firewall.allowedTCPPorts = [ 22 ];

}