Sync to the store before registering paths.

This commit is contained in:
Tom Alexander 2026-04-05 12:20:17 -04:00
parent 5aa9c502f1
commit 9b503103f7

View File

@ -119,6 +119,9 @@
nix.settings.max-free = 1000000000;
nix.settings.fallback = true;
nix.settings.warn-dirty = false;
nix.settings.fsync-metadata = true;
# Ensure store paths are durably written to disk before registering the paths so a crash mid-build does not leave us in a corrupted state.
nix.settings.fsync-store-paths = true;
hardware.enableRedistributableFirmware = true;