lockfile update and hetzner radicale server.

Hetzner server will eventually have other things on it.
This commit is contained in:
Gabe Venberg 2024-07-27 19:11:57 -05:00
parent 1d6c5082b4
commit 511b8332ed
11 changed files with 267 additions and 68 deletions

23
configs/nixos/nginx.nix Normal file
View file

@ -0,0 +1,23 @@
{
inputs,
config,
pkgs,
lib,
...
}: {
services.nginx = {
enable = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
commonHttpConfig = ''
add_header X-Clacks-Overhead "GNU Terry Pratchett";
add_header X-Clacks-Overhead "GNU Bram Moolenaar";
'';
# other Nginx options
};
security.acme = {
acceptTerms = true;
defaults.email = "gabevenberg@gmail.com";
};
networking.firewall.allowedTCPPorts = [443 80];
}

View file

@ -18,4 +18,5 @@
};
};
};
networking.firewall.allowedTCPPorts = [5232];
}