Files
cnix/nixos/services/openssh/default.nix
2024-07-29 18:54:22 +02:00

12 lines
202 B
Nix

{
services.openssh = {
enable = true;
ports = [22];
settings = {
AllowUsers = ["toothpick" "cnst"];
PermitRootLogin = "no";
PasswordAuthentication = false;
};
};
}