sshd module, home-shared-modules

This commit is contained in:
Vinzenz Schroeter 2023-09-24 14:56:07 +02:00
parent 821d057aca
commit 37f5f73a76
7 changed files with 66 additions and 71 deletions

13
modules/sshd.nix Normal file
View file

@ -0,0 +1,13 @@
{...}: {
config = {
services.openssh = {
enable = true;
openFirewall = true;
settings = {
PermitRootLogin = "without-password";
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
};
};
}