Nix (package manager): Difference between revisions
fix translation markup issues |
No edit summary |
||
| Line 10: | Line 10: | ||
<!--T:3--> | <!--T:3--> | ||
=== Installation === | === Installation === | ||
On [[NixOS]], Nix is automatically installed. | On [[<tvar name="1">NixOS</tvar>|NixOS]], Nix is automatically installed. | ||
<!--T:4--> | <!--T:4--> | ||
On other Linux distributions or on macOS, you can install Nix following the [https://nix.dev/manual/nix/stable/installation/ installation section of the Nix manual]. | On other Linux distributions or on macOS, you can install Nix following the [<tvar name="1">https://nix.dev/manual/nix/stable/installation/</tvar> installation section of the Nix manual]. | ||
=== Nix commands === <!--T:5--> | === Nix commands === <!--T:5--> | ||
<!--T:6--> | <!--T:6--> | ||
The [[Nix (command line utilities)|Nix commands]] are documented in the [https://nix.dev/manual/nix/stable/command-ref/ Nix reference manual]: main commands, utilities and experimental commands. Prior to version 2.0 (released in February 2018) there have been different commands. | The [[<tvar name="1">Nix (command line utilities)</tvar>|Nix commands]] are documented in the [<tvar name="2">https://nix.dev/manual/nix/stable/command-ref/</tvar> Nix reference manual]: main commands, utilities and experimental commands. Prior to version 2.0 (released in February 2018) there have been different commands. | ||
<!--T:7--> | <!--T:7--> | ||
=== Configuration === | === Configuration === | ||
On NixOS, Nix can be configured using the [https://search.nixos.org/options?query=nix | On NixOS, Nix can be configured using the [<tvar name="1">https://search.nixos.org/options?query=nix</tvar> <code>nix</code> option]. | ||
<!--T:8--> | <!--T:8--> | ||
Standalone Nix is configured through <code>nix.conf</code> (usually found in <code>/etc/nix/</code>). Details on the available options are [https://nix.dev/manual/nix/stable/command-ref/conf-file found in the Nix reference manual]. | Standalone Nix is configured through <code>nix.conf</code> (usually found in <code>/etc/nix/</code>). Details on the available options are [<tvar name="1">https://nix.dev/manual/nix/stable/command-ref/conf-file</tvar> found in the Nix reference manual]. | ||
<!--T:9--> | <!--T:9--> | ||
You can also configure Nix using [[Home Manager]], which manages declarative environments for a single user. For system-wide configuration, you can use [https://github.com/numtide/system-manager System Manager] on Linux and [https://github.com/nix-darwin/nix-darwin nix-darwin] on macOS. | You can also configure Nix using [[<tvar name="1">Home Manager</tvar>|Home Manager]], which manages declarative environments for a single user. For system-wide configuration, you can use [<tvar name="2">https://github.com/numtide/system-manager</tvar> System Manager] on Linux and [<tvar name="3">https://github.com/nix-darwin/nix-darwin</tvar> nix-darwin] on macOS. | ||
== Internals == <!--T:10--> | == Internals == <!--T:10--> | ||