Move common nix code one level up.

This commit is contained in:
2023-11-26 09:36:17 +00:00
parent dfd472ebe8
commit 361dd002d5
26 changed files with 8 additions and 8 deletions

14
common/sshd.nix Normal file
View File

@@ -0,0 +1,14 @@
{
services.openssh = {
enable = true;
allowSFTP = true;
settings = {
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
};
networking.firewall = {
allowedTCPPorts = [ 22 ];
};
}