nix.settings.auto-optimise-store

If set to true, Nix automatically detects files in the store that have identical contents, and replaces them with hard links to a single copy. This saves disk space. If set to false (the default), you can enable nix.optimise.automatic to run nix-store --optimise periodically to get rid of duplicate files. You can also run nix-store --optimise manually.

Type
boolean
Default
false
Example
true
Declared
<nix-darwin/modules/nix>