summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc <88983487+loicreynier@users.noreply.github.com>2022-01-28 13:22:50 +0100
committerJoe Hillenbrand <joehillen@gmail.com>2022-01-28 16:43:33 -0800
commit8da8e0dcbfde8d68fbdb22382671e395bd370d69 (patch)
tree063d137edfb09fe31a169f43e6fbfcdf606f4b6d
parent40a38b97baaf16857814737c3f46189b7e1006e4 (diff)
Add Nix installation instructionsHEADmaster
-rw-r--r--README.md12
-rwxr-xr-xREADME.sh12
2 files changed, 24 insertions, 0 deletions
diff --git a/README.md b/README.md
index 46ee5fb..77533d8 100644
--- a/README.md
+++ b/README.md
@@ -38,6 +38,18 @@ VERSION: 1.4.3
paru -S sysz
```
+## NixOS
+
+```
+nix-env -iA nixos.sysz
+```
+
+## Using Nix
+
+```
+nix-env -iA nixpkgs.sysz
+```
+
## Using [`bin`](https://github.com/marcosnils/bin)
```
diff --git a/README.sh b/README.sh
index 3f6a57a..da5ef2c 100755
--- a/README.sh
+++ b/README.sh
@@ -40,6 +40,18 @@ ${BLOCK}
paru -S sysz
${BLOCK}
+## NixOS
+
+${BLOCK}
+nix-env -iA nixos.sysz
+${BLOCK}
+
+## Using Nix
+
+${BLOCK}
+nix-env -iA nixpkgs.sysz
+${BLOCK}
+
## Using [\`bin\`](https://github.com/marcosnils/bin)
${BLOCK}