From 0b0cef5fc91f41e24de02f8e170a5f52bf4fcb68 Mon Sep 17 00:00:00 2001 From: janabhumi Date: Sun, 4 Sep 2022 23:37:43 +0300 Subject: [PATCH] home/pass: add pass-audit extension --- home/progs/pass.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/home/progs/pass.nix b/home/progs/pass.nix index c436521..129204b 100644 --- a/home/progs/pass.nix +++ b/home/progs/pass.nix @@ -5,6 +5,10 @@ with lib; let cfg = config.progs.pass; passDataDir = "${config.xdg.dataHome}/pass"; + + myPassPackage = pkgs.pass-minimal.withExtensions (ext: [ + ext.pass-audit + ]); in { options.progs.pass = { @@ -18,7 +22,7 @@ in config = mkIf cfg.enable { programs.password-store = { enable = true; - package = pkgs.pass-minimal; + package = myPassPackage; settings = { PASSWORD_STORE_DIR = "${passDataDir}/store"; };