home/pass: add pass-audit extension

This commit is contained in:
Dmitriy Pleshevskiy 2022-09-04 23:37:43 +03:00
parent e0b741bf65
commit 0b0cef5fc9
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215

View file

@ -5,6 +5,10 @@ with lib;
let let
cfg = config.progs.pass; cfg = config.progs.pass;
passDataDir = "${config.xdg.dataHome}/pass"; passDataDir = "${config.xdg.dataHome}/pass";
myPassPackage = pkgs.pass-minimal.withExtensions (ext: [
ext.pass-audit
]);
in in
{ {
options.progs.pass = { options.progs.pass = {
@ -18,7 +22,7 @@ in
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs.password-store = { programs.password-store = {
enable = true; enable = true;
package = pkgs.pass-minimal; package = myPassPackage;
settings = { settings = {
PASSWORD_STORE_DIR = "${passDataDir}/store"; PASSWORD_STORE_DIR = "${passDataDir}/store";
}; };