Nix Cookbook: Difference between revisions

imported>Nix
m Deduplication: clarify
imported>Nix
Line 51: Line 51:
</nowiki>}}
</nowiki>}}


For NixOS, the equivalent option is:
For NixOS, the option to set this is:


{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
   nix.autoOptimiseStore = true;
   nix.autoOptimiseStore = true;
</nowiki>}}
</nowiki>}}
NixOS will update <code>nix.conf</code> for you, with that setting.


==== Nix manual references ====
==== Nix manual references ====