This commit is contained in:
Lilith 2025-02-27 01:27:54 +01:00
parent 836a7e0e2c
commit c4eed0e32f
Signed by: lilith
GPG key ID: 8712A0F317C37175
9 changed files with 205 additions and 0 deletions

11
system/ssh.nix Normal file
View file

@ -0,0 +1,11 @@
{...}: {
networking.firewall.allowedTCPPorts = [22];
services.openssh = {
enable = true;
ports = [22];
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
};
};
}