Evie Litherland-Smith
5a7cbee56d
Add password-store-sync service Fix passwors store directory setting by using nix variables
16 lines
382 B
Nix
16 lines
382 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
programs = {
|
|
gpg.enable = true;
|
|
password-store = {
|
|
enable = true;
|
|
package = pkgs.pass.withExtensions (exts: [ exts.pass-otp ]);
|
|
settings.PASSWORD_STORE_DIR = with config.home;
|
|
"${homeDirectory}/.password-store";
|
|
};
|
|
git.extraConfig.credential.helper =
|
|
"${pkgs.gitFull}/bin/git-credential-libsecret";
|
|
};
|
|
}
|