increase download-buffer-size

This commit is contained in:
Daniel Langbein 2025-03-30 12:24:05 +02:00
parent ddd142e93c
commit 99f13079ed
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002

View File

@ -40,6 +40,13 @@
# https://nixos.wiki/wiki/Storage_optimization
nix.settings.auto-optimise-store = true;
# fix for this warning
# download buffer is full; consider increasing the 'download-buffer-size' setting
# https://nix.dev/manual/nix/2.23/command-ref/conf-file#conf-download-buffer-size
# default: 2^26
# Increased to 2^29 = 536870912 ~ 500MB
nix.settings.download-buffer-size = 536870912;
# Firewall.
# https://nixos.wiki/wiki/Firewall
# Note: Firewall rules may be bypassed/overwritten by Docker, as per https://github.com/NixOS/nixpkgs/issues/111852