Files
cyper-nix/nixos/ssh.nix
2026-04-03 23:37:52 +02:00

15 lines
213 B
Nix

{ ... }:
{
services.openssh = {
enable = true;
openFirewall = true;
settings = {
PasswordAuthentication = false;
PermitRootLogin = "no";
};
};
programs.ssh.startAgent = true;
}