about summary refs log tree commit diff
path: root/users/tazjin/nixos/modules
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-05-12T11·06+0200
committertazjin <tazjin@tvl.su>2022-05-12T12·15+0000
commitf110b10fafda3b37455c761a3bbe5185bbbc28be (patch)
treea5e48265338a45d583354ba905bb099d86aa138e /users/tazjin/nixos/modules
parente4b94fab753f0d32cd51d19fee44e7015fab4d19 (diff)
feat(tazjin/nixos): Add pass-otp extension r/4061
This lets pass create TOTP tokens, which is very handy.

Change-Id: I85b699087e83c3d18cd8840df11c4e27c85e1f3f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5578
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'users/tazjin/nixos/modules')
-rw-r--r--users/tazjin/nixos/modules/physical.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/users/tazjin/nixos/modules/physical.nix b/users/tazjin/nixos/modules/physical.nix
index ee89284aa8..386b756caf 100644
--- a/users/tazjin/nixos/modules/physical.nix
+++ b/users/tazjin/nixos/modules/physical.nix
@@ -1,6 +1,9 @@
 # Default configuration settings for physical machines that I use.
 { pkgs, depot, ... }:
 
+let
+  pass-otp = pkgs.pass.withExtensions (e: [ e.pass-otp ]);
+in
 {
   # Install all the default software.
   environment.systemPackages =
@@ -51,7 +54,7 @@
       openssh
       openssl
       paperlike-go
-      pass
+      pass-otp
       pavucontrol
       pinentry
       pinentry-emacs