Improve NixOS install instructions in Readme

pull/1748/head
flexxyfluxx 5 months ago committed by GitHub
parent 7964ea2d5d
commit b072ba1639
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 28
      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)

Loading…
Cancel
Save