2022-10-12 01:41:32 +03:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
passDataDir = "${config.xdg.dataHome}/pass";
|
|
|
|
|
2022-10-17 22:27:23 +03:00
|
|
|
myPassPackage = pkgs.pass.withExtensions (ext: [
|
2022-10-12 01:41:32 +03:00
|
|
|
ext.pass-audit
|
2022-11-27 23:27:01 +03:00
|
|
|
ext.pass-update
|
2022-10-12 01:41:32 +03:00
|
|
|
]);
|
|
|
|
in
|
|
|
|
{
|
|
|
|
programs.password-store = {
|
|
|
|
enable = true;
|
|
|
|
package = myPassPackage;
|
|
|
|
settings = {
|
|
|
|
PASSWORD_STORE_DIR = "${passDataDir}/store";
|
|
|
|
};
|
|
|
|
};
|
2022-10-20 10:36:04 +03:00
|
|
|
|
|
|
|
services.pass-secret-service.enable = true;
|
2022-10-12 01:41:32 +03:00
|
|
|
}
|