Nix Cookbook: Difference between revisions
imported>Nix |
imported>Nix |
||
| Line 39: | Line 39: | ||
==== Deduplication ==== | ==== Deduplication ==== | ||
You may wind up with duplicate files in your Nix store. Data deduplication is a resource intense process, so is not done automatically. Often you can save about 25-35% of your store space by optimizing the store though. This will perform a deduplication process on your Nix store (hard link duplicates together): | You may wind up with duplicate files in your Nix store. [https://en.wikipedia.org/wiki/Data_deduplication Data deduplication] is a resource intense process while running, so is not done automatically by default. Often you can save about 25-35% of your store space by optimizing the store though. This will perform a deduplication process on your Nix store (hard link duplicates together): | ||
<syntaxHighlight lang=shell> | <syntaxHighlight lang=shell> | ||