improve ssh

This commit is contained in:
nora 2024-07-27 17:46:40 +02:00
parent ea74393dcd
commit c1ba5bab61

View file

@ -38,7 +38,16 @@
boot.tmp.cleanOnBoot = true;
zramSwap.enable = true;
services.openssh.enable = true;
services.openssh = {
enable = true;
banner = "meoooooow!! 😼 :3\n";
settings = {
PasswordAuthentication = false;
};
};
services.fail2ban = {
enable = true;
};
};
dns1 = { name, nodes, modulesPath, ... }: {