From f110b10fafda3b37455c761a3bbe5185bbbc28be Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 12 May 2022 13:06:26 +0200 Subject: feat(tazjin/nixos): Add pass-otp extension 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 --- users/tazjin/nixos/modules/physical.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'users') diff --git a/users/tazjin/nixos/modules/physical.nix b/users/tazjin/nixos/modules/physical.nix index ee89284aa899..386b756cafef 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 -- cgit 1.4.1