project-flake/servers/common/ssh.nix
2025-09-17 16:39:03 +07:00

12 lines
No EOL
176 B
Nix

{ config, pkgs, ... }:
{
services.openssh = {
enable = true;
ports = [ 1004 ];
settings = {
AllowGroups = [ "remote" ];
PasswordAuthentication = false;
};
};
}