home/pass: add pass-audit extension
This commit is contained in:
parent
e0b741bf65
commit
0b0cef5fc9
1 changed files with 5 additions and 1 deletions
|
@ -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";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue