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 <tazjin@tvl.su>
This commit is contained in:
Vincent Ambo 2022-05-12 13:06:26 +02:00 committed by tazjin
parent e4b94fab75
commit f110b10faf

View file

@ -1,6 +1,9 @@
# Default configuration settings for physical machines that I use. # Default configuration settings for physical machines that I use.
{ pkgs, depot, ... }: { pkgs, depot, ... }:
let
pass-otp = pkgs.pass.withExtensions (e: [ e.pass-otp ]);
in
{ {
# Install all the default software. # Install all the default software.
environment.systemPackages = environment.systemPackages =
@ -51,7 +54,7 @@
openssh openssh
openssl openssl
paperlike-go paperlike-go
pass pass-otp
pavucontrol pavucontrol
pinentry pinentry
pinentry-emacs pinentry-emacs