forked from LnL7/nix
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request NixOS#7607 from Hoverbear/installation-expand
Expand installation.md
- Loading branch information
Showing
2 changed files
with
44 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,38 @@ | ||
This section describes how to install and configure Nix for first-time | ||
use. | ||
# Installation | ||
|
||
This section describes how to install and configure Nix for first-time use. | ||
|
||
The current recommended option on Linux and MacOS is [multi-user](#multi-user). | ||
|
||
## Multi-user | ||
|
||
This installation offers better sharing, improved isolation, and more security | ||
over a single user installation. | ||
|
||
This option requires either: | ||
|
||
* Linux running systemd, with SELinux disabled | ||
* MacOS | ||
|
||
```console | ||
$ bash <(curl -L https://nixos.org/nix/install) --daemon | ||
``` | ||
|
||
## Single-user | ||
|
||
> Single-user is not supported on Mac. | ||
This installation has less requirements than the multi-user install, however it | ||
cannot offer equivalent sharing, isolation, or security. | ||
|
||
This option is suitable for systems without systemd. | ||
|
||
```console | ||
$ bash <(curl -L https://nixos.org/nix/install) --no-daemon | ||
``` | ||
|
||
## Distributions | ||
|
||
The Nix community maintains installers for several distributions. | ||
|
||
They can be found in the [`nix-community/nix-installers`](https://github.com/nix-community/nix-installers) repository. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters