diff --git a/layers/nginx.nix b/layers/nginx.nix
index fcce3004be47e1c33c0384dcb7426abca8750cf1..4f208d376084a6c12e1106c5d071deb45c6c87ca 100644
--- a/layers/nginx.nix
+++ b/layers/nginx.nix
@@ -4,9 +4,10 @@
   services.nginx = {
     enable = true;
 
+    # Default (hardcoded) in recent nixpkgs
+    #types_hash_max_size 4096;
     appendHttpConfig = ''
       sendfile on;
-      types_hash_max_size 4096;
       server_names_hash_bucket_size 128;
     '';
   };