add hedgedoc config
This commit is contained in:
parent
41bc2bff69
commit
a3a5cc794c
5 changed files with 212 additions and 32 deletions
19
services/openssh.nix
Normal file
19
services/openssh.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
services = {
|
||||
openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PermitEmptyPasswords = "no";
|
||||
PermitRootLogin = "prohibit-password";
|
||||
PasswordAuthentication = false;
|
||||
KbdInteractiveAuthentication = false;
|
||||
};
|
||||
};
|
||||
sshguard = {
|
||||
enable = true;
|
||||
services = [ "sshd" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue