add: sshd nix

This commit is contained in:
djaidjai committed 2026-09-29 13:58:24 +02:00
1 parent 2c2bd8a659
commit 31b4263ddd
2 files changed
+14

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
{ config, pkgs, ... }:
{
services.openssh.enable = true;
services.openssh.settings = {
PasswordAuthentication = true;
PermitRootLogin = "no";
};
networking.firewall.allowedTCPPorts = [ 22 ];
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.