Nix configurations for my homelab
0

Configure Feed

Select the types of activity you want to include in your feed.

nextcloud: do upstream connections using http/2 instead of http/1.1

+14 -9
+9 -9
flake.lock
··· 103 103 ] 104 104 }, 105 105 "locked": { 106 - "lastModified": 1756022458, 107 - "narHash": "sha256-J1i35r4HfNDdPpwL0vOBaZopQudAUVtartEerc1Jryc=", 106 + "lastModified": 1756261190, 107 + "narHash": "sha256-eiy0klFK5EVJLNilutR7grsZN/7Itj9DyD75eyOf83k=", 108 108 "owner": "nix-community", 109 109 "repo": "home-manager", 110 - "rev": "9e3a33c0bcbc25619e540b9dfea372282f8a9740", 110 + "rev": "77f348da3176dc68b20a73dab94852a417daf361", 111 111 "type": "github" 112 112 }, 113 113 "original": { ··· 212 212 }, 213 213 "nixpkgs": { 214 214 "locked": { 215 - "lastModified": 1756193349, 216 - "narHash": "sha256-s9mVQll30JhqPklsDhpyPYhavoJA30tLausoJMfuyPY=", 215 + "lastModified": 1756266583, 216 + "narHash": "sha256-cr748nSmpfvnhqSXPiCfUPxRz2FJnvf/RjJGvFfaCsM=", 217 217 "owner": "NixOS", 218 218 "repo": "nixpkgs", 219 - "rev": "77ae3f85d5e814698380c00ad3a867ebc3204cb1", 219 + "rev": "8a6d5427d99ec71c64f0b93d45778c889005d9c2", 220 220 "type": "github" 221 221 }, 222 222 "original": { ··· 282 282 "rust-overlay": "rust-overlay" 283 283 }, 284 284 "locked": { 285 - "lastModified": 1756165024, 286 - "narHash": "sha256-N7Ho/2OZkSwzJ9igWO10/xXCbYeBDavLgBuxuKOD/jw=", 285 + "lastModified": 1756241842, 286 + "narHash": "sha256-3c+8PaWe+MFOuj1DxYiI1eOlHru6FxH6ByzboYKr29I=", 287 287 "owner": "roc-lang", 288 288 "repo": "roc", 289 - "rev": "5226b6d43a6af41c985dbaec4b97120c051fb218", 289 + "rev": "2a924d2a83244460b5174e5459f5b62a61013992", 290 290 "type": "github" 291 291 }, 292 292 "original": {
+4
modules/services/caddy/nextcloud.nix
··· 8 8 # Because the redirect isn't also https, this can cause a Content-Security-Policy error on the client. 9 9 # In practice this prevents us from enabling apps on NextCloud without this line. 10 10 header_down Location http:// https:// 11 + 12 + transport http { 13 + versions h2c 14 + } 11 15 } 12 16 ''; 13 17 }
+1
modules/services/nextcloud.nix
··· 51 51 { 52 52 addr = "[::1]"; 53 53 port = 8080; 54 + extraParameters = [ "http2" ]; 54 55 } 55 56 ]; 56 57