Work on hydra config, fix tor relay config, prepare web-public-2 host
This commit is contained in:
parent
64d9dbd4b0
commit
c6f4780ccd
15 changed files with 176 additions and 9 deletions
|
@ -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;
|
||||
}
|
||||
|
|
9
configuration/common/nginx.nix
Normal file
9
configuration/common/nginx.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ ... }: {
|
||||
services.nginx = {
|
||||
enableReload = true;
|
||||
recommendedGzipSettings = true;
|
||||
recommendedOptimisation = true;
|
||||
recommendedProxySettings = true;
|
||||
recommendedTlsSettings = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue