summary refs log tree commit diff
diff options
context:
space:
mode:
authorflexxyfluxx <82163962+flexxyfluxx@users.noreply.github.com>2024-06-11 12:24:00 +0000
committerGitHub <noreply@github.com>2024-06-11 12:24:00 +0000
commitb072ba163904864afe973a938cf4039314bfd15c (patch)
treeac40a94888e1f5cf98132214b1f9624d496ed9a2
parentBump mtxclient version to 0.10.0 (diff)
downloadnheko-b072ba163904864afe973a938cf4039314bfd15c.tar.xz
Improve NixOS install instructions in Readme
-rw-r--r--README.md28
1 files changed, 27 insertions, 1 deletions
diff --git a/README.md b/README.md

index 37ebcf42..4a8be641 100644 --- a/README.md +++ b/README.md
@@ -110,10 +110,36 @@ 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 ``` +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)