move around some more

This commit is contained in:
Kopatz
2024-03-28 14:59:02 +01:00
parent 9b088ec40a
commit 224d81e95f
5 changed files with 5 additions and 7 deletions

10
modules/services/ssh.nix Normal file
View File

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