Work on hydra config, fix tor relay config, prepare web-public-2 host

This commit is contained in:
fi 2023-07-18 17:23:46 +02:00
parent 64d9dbd4b0
commit c6f4780ccd
Signed by: fi
SSH key fingerprint: SHA256:d+6fQoDPMbSFK95zRVflRKZLRKF4cPSQb7VIxYkhFsA
15 changed files with 176 additions and 9 deletions

View file

@ -1,7 +1,8 @@
{ config, pkgs, ... }:
{ pkgs, ... }:
{
imports = [
./prometheus-node-exporter.nix
./nginx.nix
../../users/colmena-deploy
../../users/yuri
];
@ -36,6 +37,7 @@
services.openssh = {
enable = true;
openFirewall = true;
settings = {
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
@ -43,5 +45,10 @@
};
};
security.acme = {
defaults.email = "acme@grzb.de";
acceptTerms = true;
};
services.fstrim.enable = true;
}

View file

@ -0,0 +1,9 @@
{ ... }: {
services.nginx = {
enableReload = true;
recommendedGzipSettings = true;
recommendedOptimisation = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
};
}