diff options
author | Tad Fisher <tadfisher@gmail.com> | 2018-03-05 12:13:59 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-05 12:13:59 -0800 |
commit | 8cb93f45422a02b7c99c51ae984d57e97f215f10 (patch) | |
tree | 9b1ec12db232f80c13d2a03db6132ccc84077f3e | |
parent | 4119587bf7988ebe901e3ceaea297ec894e64b0e (diff) | |
download | pass-otp-8cb93f45422a02b7c99c51ae984d57e97f215f10.tar.gz pass-otp-8cb93f45422a02b7c99c51ae984d57e97f215f10.zip |
Add NixOS install instructions
-rw-r--r-- | README.md | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -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 ``` |