sshd module, home-shared-modules
This commit is contained in:
parent
821d057aca
commit
37f5f73a76
7 changed files with 66 additions and 71 deletions
13
modules/sshd.nix
Normal file
13
modules/sshd.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{...}: {
|
||||
config = {
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
settings = {
|
||||
PermitRootLogin = "without-password";
|
||||
PasswordAuthentication = false;
|
||||
KbdInteractiveAuthentication = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue