Evie Litherland-Smith
9d401ace7f
git-sync service works now that I'm using libsecret for git auth. Remove password-store from service, manage manually. Considering switch to proton pass anyway. Copy gpg and gpg-agent config to emacs/default.nix in case I switch away from password-store.
29 lines
548 B
Nix
29 lines
548 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
programs = {
|
|
gpg.enable = true;
|
|
password-store = {
|
|
enable = true;
|
|
package = pkgs.pass-nodmenu.withExtensions (
|
|
exts: with exts; [
|
|
pass-update
|
|
pass-import
|
|
]
|
|
); # pass-audit
|
|
settings = {
|
|
PASSWORD_STORE_DIR = "${config.home.homeDirectory}/.password-store";
|
|
PASSWORD_STORE_ENABLE_EXTENSIONS = "true";
|
|
};
|
|
};
|
|
};
|
|
services.gpg-agent = {
|
|
enable = true;
|
|
pinentryPackage = lib.mkDefault pkgs.pinentry-all;
|
|
};
|
|
}
|