nixos/home/pass/default.nix

16 lines
423 B
Nix
Raw Normal View History

{ config, pkgs, ... }:
{
programs = {
gpg.enable = true;
password-store = {
enable = true;
2023-09-06 06:11:31 +01:00
package = pkgs.pass.withExtensions (exts: with exts; [ pass-otp pass-update pass-audit pass-import ]);
settings.PASSWORD_STORE_DIR = with config.home;
"${homeDirectory}/.password-store";
};
git.extraConfig.credential.helper =
"${pkgs.gitFull}/bin/git-credential-libsecret";
};
}