mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-23 17:56:53 +03:00
nixos/nginx: remove shortand from defaultText
This commit is contained in:
parent
625bf54d14
commit
b64b2d25c2
1 changed files with 1 additions and 1 deletions
|
@ -896,7 +896,7 @@ in
|
||||||
typesHashMaxSize = mkOption {
|
typesHashMaxSize = mkOption {
|
||||||
type = types.ints.positive;
|
type = types.ints.positive;
|
||||||
default = if cfg.defaultMimeTypes == "${pkgs.mailcap}/etc/nginx/mime.types" then 2688 else 1024;
|
default = if cfg.defaultMimeTypes == "${pkgs.mailcap}/etc/nginx/mime.types" then 2688 else 1024;
|
||||||
defaultText = literalExpression ''if cfg.defaultMimeTypes == "''${pkgs.mailcap}/etc/nginx/mime.types" then 2688 else 1024'';
|
defaultText = literalExpression ''if config.services.nginx.defaultMimeTypes == "''${pkgs.mailcap}/etc/nginx/mime.types" then 2688 else 1024'';
|
||||||
description = ''
|
description = ''
|
||||||
Sets the maximum size of the types hash tables (`types_hash_max_size`).
|
Sets the maximum size of the types hash tables (`types_hash_max_size`).
|
||||||
It is recommended that the minimum size possible size is used.
|
It is recommended that the minimum size possible size is used.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue