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
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";
};