nixos-server-conf/shared/ssh.nix

14 lines
237 B
Nix
Raw Permalink Normal View History

{ config, lib, pkgs, modulesPath, ... }:
{
services = {
endlessh = {
enable = true;
port = 22;
};
openssh = {
enable = true;
ports = [ 23 ];
};
};
}