summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--README.md30
1 files changed, 29 insertions, 1 deletions
diff --git a/README.md b/README.md
index 2dc297d5..41b32886 100644
--- a/README.md
+++ b/README.md
@@ -113,10 +113,38 @@ sudo urpmi nheko
 #### Nix(os)
 
 ```bash
+# Imperatively: (not recommended)
 nix-env -iA nixpkgs.nheko
-# or
+
+# In an ephemeral shell: (recommended if you just want to try it out without committing to a full installation)
 nix-shell -p nheko --run nheko
+# Note: The above command will both install and run Nheko.
+# To stop it from running immediately, just remove the `--run nheko` from the end.
+```
+Alternatively, add it to your config in one of the following ways: (recommended for long-term installation)
+
+**System-wide:**
+```nix
+environment.systemPackages = with pkgs; [
+    # ...
+    nheko
+    # ...
+];
+```
+**User-specific:**
+```nix
+users.users.<user>.packages = with pkgs; [
+    # ...
+    nheko
+    # ...
+];
 ```
+**via `home-manager`:**
+```nix
+programs.nheko.enable = true;
+```
+
+
 
 #### Alpine Linux (and postmarketOS)