This commit is contained in:
2025-12-20 22:25:30 +00:00
parent 1bc2a274ae
commit 9735218118
7 changed files with 4 additions and 22 deletions

9
profiles/openssh.nix Normal file
View File

@@ -0,0 +1,9 @@
{...}: {
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "prohibit-password";
PasswordAuthentication = false;
};
};
}