From 22bc76a0fc5eda6735fe7711a8afc330fe44e5ca Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Tue, 15 Jul 2025 10:42:32 +0000 Subject: [PATCH] Add smini nix config with modularised config --- nixos/nginx.nix | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/nixos/nginx.nix b/nixos/nginx.nix new file mode 100644 index 0000000..8ea57bf --- /dev/null +++ b/nixos/nginx.nix @@ -0,0 +1,19 @@ +{ config, libs, pkgs, modulesPath, ... }: + +{ + services.nginx = { + enable = true; + recommendedOptimisation = true; + recommendedTlsSettings = true; + recommendedProxySettings = true; + recommendedBrotliSettings = true; + recommendedGzipSettings = true; + recommendedZstdSettings = true; + }; + + security.acme = { + acceptTerms = true; + defaults.email = "joelgrun@gmail.com"; + # "*.ush.bouncr.xyz".email = "joelgrun@gmail.com"; + }; +} -- Gitblit v1.10.0