nixfleet/hmModules/password-store/default.nix
2023-05-11 10:41:03 +02:00

15 lines
350 B
Nix

{
config,
lib,
pkgs,
...
}: {
programs.password-store = {
enable = true;
settings = {
PASSWORD_STORE_DIR = "/home/ccr/.password-store";
};
package = pkgs.pass.withExtensions (e: with e; [pass-otp]);
};
services.password-store-sync.enable = false; # FIXME this requires `pass` every 5 minutes that run `pinentry`
}