nixos-server-conf/shared/ssh.nix

27 lines
302 B
Nix
Raw Normal View History

{
2025-06-12 16:04:45 +00:00
config,
lib,
pkgs,
modulesPath,
...
}:
{
services = {
endlessh = {
enable = true;
port = 22;
};
2025-06-12 16:04:45 +00:00
openssh = {
enable = true;
ports = [ 54222 ];
settings = {
AllowUsers = [
"dev"
"root"
];
};
};
2025-06-12 16:04:45 +00:00
};
2025-05-22 07:44:23 +00:00
}