diff --git a/pills/02-install-on-your-running.xml b/pills/02-install-on-your-running.xml index d7396d3..04b7a7e 100644 --- a/pills/02-install-on-your-running.xml +++ b/pills/02-install-on-your-running.xml @@ -25,46 +25,17 @@ place out of our way. -
- Download - - - You can grab the nix installation script (nix 1.11.5 during this - writing) here: https://nixos.org/nix/install. - - - - One way to install is simply to run curl https://nixos.org/nix/install | sh as a non-root user. You may prefer - to download the installation script and verify its integrity - using GPG signatures, instructions for doing that can be found - here: https://nixos.org/nix/download.html. - -
-
Installation - To ensure we don't mess with the system, you could create a - custom user to let him own the Nix store, let's call it - nix. + To install Nix, run curl https://nixos.org/nix/install | sh + as a non-root user and follow the instructions. Alternatively, you may + prefer to download the installation script and verify its integrity using + GPG signatures. Instructions for doing so can be found here: https://nixos.org/nix/download.html. - - As root: - - - - - - From now on, all the operations we do on the shell are done from - this nix user: - - - - My pills are not a simple tutorial, there's are several articles out there to learn the basics of nix and unix. We'll instead diff --git a/pills/02/add-user-chown.txt b/pills/02/add-user-chown.txt deleted file mode 100644 index eaf5b80..0000000 --- a/pills/02/add-user-chown.txt +++ /dev/null @@ -1,2 +0,0 @@ -# adduser nix -# mkdir -m 0755 /nix && chown nix /nix diff --git a/pills/02/extract-as-nix.txt b/pills/02/extract-as-nix.txt deleted file mode 100644 index 115eb9c..0000000 --- a/pills/02/extract-as-nix.txt +++ /dev/null @@ -1,4 +0,0 @@ -# su - nix -$ tar -xf nix-1.7-x86_64-linux.tar.bz2 -$ cd nix-1.7-x86_64-linux -$ ./install