Nix (package manager): Difference between revisions

imported>Ixxie
Added declarative configuration section.
imported>Ixxie
No edit summary
Line 12: Line 12:
=== Declarative Configuration ===
=== Declarative Configuration ===


Support for declarative configuration in Nix is limited, and the solutions are somewhat fragmented. The only only configuration file officially associated with Nix is <code>/etc/nix/nix.conf</code>, which defines a number of settings relating to how Nix builds expressions and maintains the store. Details on the available options are found in the [[https://nixos.org/nix/manual/#sec-conf-file|nix.conf section of the manual]].
Support for declarative configuration in Nix is limited, and the solutions are somewhat fragmented. The only only configuration file officially associated with Nix is <code>nix.conf</code> (usually found in <code>/etc/nix/</code>), which defines a number of settings relating to how Nix, including build, garbage collection, sandboxing, and user permissions. Details on the available options are found in the [https://nixos.org/nix/manual/#sec-conf-file|nix.conf section of the manual].


==== Sandbox builds ====
==== Sandbox builds ====