Michael Thomson 5a9eafc05c
formatting
Signed-off-by: Michael Thomson <michael@michaelthomson.dev>
2024-11-17 21:07:58 -05:00

33 lines
562 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 = !pkgs.stdenv.isDarwin;
pinentryPackage = pkgs.pinentry-curses;
};
};
}