project-flake/servers/common/ssh.nix
2025-10-19 11:14:51 +07:00

12 lines
176 B
Nix

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