Pass, gnupg

This commit is contained in:
Aleksandr Lebedev 2025-03-06 11:29:56 +01:00
parent 2f388d2114
commit e0a2304dcc
3 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,12 @@
{ pkgs,... }:
{
programs.gnupg.agent = {
enable = true;
settings = {
pinentry-program = lib.mkForce "${pkgs.pinentry-curses}/bin/pinentry-curses";
};
};
environment.systemPackages = with pkgs;[
(pass.withExtensions (exts: with exts;[pass-otp]))
];
}