chore(nix): remove enableACME from Headscale Nginx config

- Dropped `enableACME` as it is redundant when `useACMEHost` is defined.
- Simplifies Nginx virtual host configuration for Headscale.
This commit is contained in:
Harald Hoyer 2025-11-21 16:23:53 +01:00
parent 129630c163
commit 2a810ce759

View file

@ -19,7 +19,6 @@ in
nginx.virtualHosts.${domain} = { nginx.virtualHosts.${domain} = {
useACMEHost = "hoyer.xyz"; useACMEHost = "hoyer.xyz";
forceSSL = true; forceSSL = true;
enableACME = true;
locations."/" = { locations."/" = {
proxyPass = "http://localhost:${toString config.services.headscale.port}"; proxyPass = "http://localhost:${toString config.services.headscale.port}";
proxyWebsockets = true; proxyWebsockets = true;