system/users/modules/pass.nix

19 lines
317 B
Nix
Raw Normal View History

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
]);
in
{
programs.password-store = {
enable = true;
package = myPassPackage;
settings = {
PASSWORD_STORE_DIR = "${passDataDir}/store";
};
};
}