nix-config/config/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
394 B
Nix
Raw Normal View History

{ config, lib, ... }:
# this file contains default configuration that may be turned on depending on other config settings.
# options should go to modules.
lib.mkIf config.services.nginx.enable {
services.nginx = {
openFirewall = true;
recommendedGzipSettings = true;
recommendedOptimisation = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
};
}