2024-07-03 07:15:39 +01:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
2024-07-30 15:06:34 +01:00
|
|
|
}:
|
|
|
|
{
|
2024-07-03 07:15:39 +01:00
|
|
|
programs = {
|
|
|
|
gpg.enable = true;
|
|
|
|
password-store = {
|
|
|
|
enable = true;
|
2024-07-30 15:06:34 +01:00
|
|
|
package = pkgs.pass-nodmenu.withExtensions (
|
|
|
|
exts: with exts; [
|
|
|
|
pass-update
|
|
|
|
pass-import
|
|
|
|
]
|
|
|
|
); # pass-audit
|
2024-07-03 07:15:39 +01:00
|
|
|
settings = {
|
|
|
|
PASSWORD_STORE_DIR = "${config.home.homeDirectory}/.password-store";
|
|
|
|
PASSWORD_STORE_ENABLE_EXTENSIONS = "true";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-10-05 12:38:24 +01:00
|
|
|
services.gpg-agent = {
|
|
|
|
enable = true;
|
|
|
|
pinentryPackage = lib.mkDefault pkgs.pinentry-all;
|
2024-07-03 07:15:39 +01:00
|
|
|
};
|
|
|
|
}
|