Merge: nixos/nginx: fix type of mapHashBucketSize (#413269)

authored by

Maximilian Bosch and committed by
GitHub
30a7b0a6 cf5377c6

+4 -7
+4 -7
nixos/modules/services/web-servers/nginx/default.nix
··· 1002 }; 1003 1004 mapHashBucketSize = mkOption { 1005 - type = types.nullOr ( 1006 - types.enum [ 1007 - 32 1008 - 64 1009 - 128 1010 - ] 1011 - ); 1012 default = null; 1013 description = '' 1014 Sets the bucket size for the map variables hash tables. Default 1015 value depends on the processor’s cache line size. 1016 ''; 1017 }; 1018
··· 1002 }; 1003 1004 mapHashBucketSize = mkOption { 1005 + type = types.nullOr (types.ints.positive); 1006 default = null; 1007 description = '' 1008 Sets the bucket size for the map variables hash tables. Default 1009 value depends on the processor’s cache line size. 1010 + 1011 + Refer to [the nginx docs on hashes](https://nginx.org/en/docs/hash.html) 1012 + for more information. 1013 ''; 1014 }; 1015