add hedgedoc config

This commit is contained in:
XenGi 2026-02-01 00:26:41 +01:00
parent 41bc2bff69
commit a3a5cc794c
Signed by: xengi
SSH key fingerprint: SHA256:jxWM2RTHvxxcncXycwwWkP7HCWb4VREN05UGJTbIPZg
5 changed files with 212 additions and 32 deletions

19
services/openssh.nix Normal file
View file

@ -0,0 +1,19 @@
{ ... }:
{
services = {
openssh = {
enable = true;
settings = {
PermitEmptyPasswords = "no";
PermitRootLogin = "prohibit-password";
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
};
sshguard = {
enable = true;
services = [ "sshd" ];
};
};
}