omniflake/system/web-server/default.nix
2025-04-15 15:03:45 +02:00

20 lines
326 B
Nix

{ config, pkgs, ... }:
{
nixpkgs.config.allowUnfree = true;
networking.firewall.allowedTCPPorts = [ 80 443 ];
services.nginx = {
enable = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
};
security.acme = {
acceptTerms = true;
defaults.email = "till@ktiu.net";
};
}