nix-super/doc/manual/rl-next/fsync-store-paths.md

10 lines
411 B
Markdown
Raw Normal View History

2024-08-22 16:48:36 +03:00
---
synopsis: Add setting `fsync-store-paths`
issues: [1218]
prs: [7126]
---
Nix now has a setting `fsync-store-paths` that ensures that new store paths are durably written to disk before they are registered as "valid" in Nix's database. This can prevent Nix store corruption if the system crashes or there is a power loss. This setting defaults to `false`.
Author: [**@squalus**](https://github.com/squalus)