rp5: move things in separate configs, to be reused

This commit is contained in:
Christoph Hollizeck 2024-11-25 23:02:09 +01:00
parent 1eaf6dce2b
commit e99c03e580
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 249300664F2AF2C7
4 changed files with 92 additions and 67 deletions

View file

@ -39,18 +39,6 @@ in
};
};
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
};
services.fail2ban = {
enable = true;
};
services.nginx = {
enable = true;
recommendedProxySettings = true;
@ -199,6 +187,7 @@ in
enable = true;
inherit sopsFile;
};
openssh = enabled;
};
security = {