2023-09-05 17:44:23 +01:00
|
|
|
{ config, pkgs, ... }:
|
2023-08-28 12:19:43 +01:00
|
|
|
|
|
|
|
{
|
|
|
|
programs = {
|
|
|
|
gpg.enable = true;
|
|
|
|
password-store = {
|
|
|
|
enable = true;
|
2023-08-28 16:45:38 +01:00
|
|
|
package = pkgs.pass.withExtensions (exts: [ exts.pass-otp ]);
|
2023-09-05 17:44:23 +01:00
|
|
|
settings.PASSWORD_STORE_DIR = with config.home;
|
|
|
|
"${homeDirectory}/.password-store";
|
2023-08-28 12:19:43 +01:00
|
|
|
};
|
2023-08-31 08:21:21 +01:00
|
|
|
git.extraConfig.credential.helper =
|
|
|
|
"${pkgs.gitFull}/bin/git-credential-libsecret";
|
2023-08-28 12:19:43 +01:00
|
|
|
};
|
|
|
|
}
|