aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/README.md b/README.md
index 6c3ee78..39342f1 100644
--- a/README.md
+++ b/README.md
@@ -120,6 +120,28 @@ sudo make install
pacman -S pass-otp
```
+### NixOS
+
+- `configuration.nix`
+
+System-wide:
+
+```nix
+environment.systemPackages = [ pkgs.pass-otp ];
+```
+
+Per-user:
+
+```nix
+users.users.<name>.packages = [ pkgs.pass-otp ];
+```
+
+- Imperative
+
+```
+nix-env -i pass-otp
+```
+
### macOS
```