nixos/home/pass/default.nix

15 lines
337 B
Nix
Raw Normal View History

2023-08-28 16:45:38 +01:00
{ pkgs, ... }:
{
programs = {
gpg.enable = true;
password-store = {
enable = true;
2023-08-28 16:45:38 +01:00
package = pkgs.pass.withExtensions (exts: [ exts.pass-otp ]);
settings.PASSWORD_STORE_DIR = "$HOME/.password-store";
};
git.extraConfig.credential.helper =
"${pkgs.gitFull}/bin/git-credential-libsecret";
};
}