21 lines
384 B
Nix
21 lines
384 B
Nix
{ config, pkgs, ... }:
|
|
|
|
let
|
|
passDataDir = "${config.xdg.dataHome}/pass";
|
|
|
|
myPassPackage = pkgs.pass.withExtensions (ext: [
|
|
ext.pass-audit
|
|
ext.pass-update
|
|
]);
|
|
in
|
|
{
|
|
programs.password-store = {
|
|
enable = true;
|
|
package = myPassPackage;
|
|
settings = {
|
|
PASSWORD_STORE_DIR = "${passDataDir}/store";
|
|
};
|
|
};
|
|
|
|
services.pass-secret-service.enable = true;
|
|
}
|