Nix (package manager): Difference between revisions
imported>Ixxie No edit summary |
imported>Ixxie Added declarative configuration section. |
||
Line 10: | Line 10: | ||
The [https://nixos.org/nix/manual/#chap-installation installation section of the Nix manual] describes how to install Nix from binary or source on Linux and Mac systems for a user with root privileges; it is easiest to install Nix for a single user, but steps are also included for setting up a multiuser installation. For an extensive guide on various methods for installing Nix - including how to install Nix without root privileges - see the [[Nix Installation Guide]]. | The [https://nixos.org/nix/manual/#chap-installation installation section of the Nix manual] describes how to install Nix from binary or source on Linux and Mac systems for a user with root privileges; it is easiest to install Nix for a single user, but steps are also included for setting up a multiuser installation. For an extensive guide on various methods for installing Nix - including how to install Nix without root privileges - see the [[Nix Installation Guide]]. | ||
=== Configuration === | === Declarative Configuration === | ||
Nix | 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]]. | ||
==== Sandbox builds ==== | ==== Sandbox builds ==== |