Nix (package manager): Difference between revisions
imported>Ixxie m Ixxie moved page Nix Package Manager to Nix: Nix is more than just a package manager; also, for ease of wiki-internal linking xD |
imported>Samueldr m Frivolously replaces PR link. |
||
Line 12: | Line 12: | ||
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]. Since most scenarios involve using [[Nixpkgs]], configuration of <code>~/.config/nixpkgs/config.nix</code> is often also helpful; here package overrides can be specified. | 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]. Since most scenarios involve using [[Nixpkgs]], configuration of <code>~/.config/nixpkgs/config.nix</code> is often also helpful; here package overrides can be specified. | ||
Work on Nix user profiles is well underway, see | Work on Nix user profiles is well underway, see {{pull|9250|PR 9250}}. | ||
=== Imperative Operations === | === Imperative Operations === |