diff --git a/profiles/vm/default.nix b/profiles/vm/default.nix index 833022f..cac52d5 100644 --- a/profiles/vm/default.nix +++ b/profiles/vm/default.nix @@ -3,6 +3,7 @@ { imports = [ ./hardware-configuration.nix + ./nginx.nix ./virtualisation.nix ]; } diff --git a/profiles/vm/nginx.nix b/profiles/vm/nginx.nix new file mode 100644 index 0000000..8b22c19 --- /dev/null +++ b/profiles/vm/nginx.nix @@ -0,0 +1,10 @@ +{ ... }: + +{ + services.nginx = { + recommendedTlsSettings = true; + recommendedOptimisation = true; + recommendedGzipSettings = true; + recommendedProxySettings = true; + }; +}