31 lines
542 B
Nix
31 lines
542 B
Nix
{ pkgs, config, ... }:
|
|
|
|
{
|
|
home.packages = with pkgs; [
|
|
pinentry-curses
|
|
];
|
|
|
|
programs = {
|
|
gpg = {
|
|
enable = true;
|
|
};
|
|
password-store = {
|
|
enable = true;
|
|
package = pkgs.pass.withExtensions (exts: [ exts.pass-otp exts.pass-file exts.pass-import ]);
|
|
settings = {
|
|
PASSWORD_STORE_DIR = "\${HOME}/.password-store";
|
|
};
|
|
};
|
|
browserpass = {
|
|
enable = true;
|
|
};
|
|
};
|
|
|
|
services = {
|
|
gpg-agent = {
|
|
enable = true;
|
|
pinentryPackage = pkgs.pinentry-curses;
|
|
};
|
|
};
|
|
}
|