nix-stuff/roles/server/ssh.nix
2023-06-01 13:07:12 +02:00

10 lines
152 B
Nix
Executable file

{ config, ... }:
{
services.openssh = {
enable = true;
startWhenNeeded = true;
permitRootLogin = "no";
passwordAuthentication = false;
};
}