config.nix/modules/system/ssh.nix
2026-03-30 22:03:03 +02:00

13 lines
192 B
Nix

{ config, pkgs, ... }:
{
services = {
openssh = {
enable = true;
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
};
};
};
}