Initial commit

This commit is contained in:
2024-05-29 15:24:31 -05:00
commit a0c6081818
31 changed files with 1392 additions and 0 deletions

16
modules/openssh.nix Normal file
View File

@@ -0,0 +1,16 @@
{ lib
, pkgs
, openssh-port ? 22
, ...
}:
{
services.openssh = {
enable = true;
ports = [ openssh-port ];
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
};
};
}