Storage optimization: Difference between revisions
imported>Sbh69840 m nix.gc.dates is not supported in nix-darwin and hence included an example to use nix.gc.interval |
imported>Riley-martine |
||
Line 7: | Line 7: | ||
To turn on automatic optimisation for newer derivations, add the following option to <code>/etc/nixos/configuration.nix</code>: | To turn on automatic optimisation for newer derivations, add the following option to <code>/etc/nixos/configuration.nix</code>: | ||
{{file|configuration.nix|nix|<nowiki> | {{file|configuration.nix|nix|<nowiki> | ||
nix. | nix.optimise.automatic = true; | ||
</nowiki>}} | </nowiki>}} | ||