nixos-server-conf/shared/ssh.nix

17 lines
334 B
Nix
Raw Normal View History

{ config, lib, pkgs, modulesPath, ... }:
{
services = {
2025-05-20 12:06:05 +00:00
# endlessh = {
# enable = true;
# port = 22;
# };
openssh = {
enable = true;
2025-05-20 11:55:53 +00:00
ports = [ 22 23 ];
2025-05-20 12:06:05 +00:00
# settings = {
# AllowUsers = [ "dev" ];
# };
};
};
}