macbook: cap nix download concurrency to stop wl wifi drops

This commit is contained in:
rope 2026-07-29 17:24:25 +01:00
parent 7ea6442a00
commit e68d2d6464

View file

@ -20,6 +20,13 @@
nix.settings.max-jobs = 0; nix.settings.max-jobs = 0;
# max-jobs = 0 means an update is pure substitution, and nix's default
# 25 parallel HTTPS streams saturate the link hard enough that the
# out-of-tree broadcom_sta (wl) driver drops association mid-build —
# only a manual wifi reconnect brings it back. Cap the concurrency.
nix.settings.http-connections = 8;
nix.settings.max-substitution-jobs = 4;
services.tlp.enable = false; services.tlp.enable = false;
services.power-profiles-daemon.enable = true; services.power-profiles-daemon.enable = true;
# Quickshell's battery widget reads org.freedesktop.UPower over DBus # Quickshell's battery widget reads org.freedesktop.UPower over DBus