nixos/hosts/modules/server/nginx.nix
2024-06-18 09:54:18 +02:00

9 lines
197 B
Nix

{config, ...}:{
services.nginx.enable = true;
security.acme = {
acceptTerms = true;
defaults.email = ${config.var.git.email};
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
}