Files
cyper-desktop/nixos/ssh.nix
2026-03-27 18:11:06 +01:00

15 lines
213 B
Nix

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