From 7f8b7e24fe67cfdb407f1415d6e7b223d2600f58 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 9 May 2023 18:47:24 -0700 Subject: profiles/nginx: move common configuration to a profile Both tahoe and carmel are using nginx, and we can simplify the configuration by moving common parts to the profile and have these hosts import it. --- hosts/carmel/default.nix | 1 + hosts/carmel/services.nix | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'hosts/carmel') diff --git a/hosts/carmel/default.nix b/hosts/carmel/default.nix index c9915d2..1006f1e 100644 --- a/hosts/carmel/default.nix +++ b/hosts/carmel/default.nix @@ -8,6 +8,7 @@ ./services.nix "${self}/profiles/server.nix" "${self}/profiles/hardware/amd.nix" + "${self}/profiles/nginx.nix" ]; # This value determines the NixOS release from which the default diff --git a/hosts/carmel/services.nix b/hosts/carmel/services.nix index 89f888d..4c17fd8 100644 --- a/hosts/carmel/services.nix +++ b/hosts/carmel/services.nix @@ -74,12 +74,6 @@ }; services.nginx = { - enable = true; - recommendedProxySettings = true; - recommendedTlsSettings = true; - recommendedGzipSettings = true; - recommendedOptimisation = true; - virtualHosts."dnsmasq" = { listen = [ { -- cgit 1.4.1