more minor tweaks

This commit is contained in:
Anish Lakhwara
2025-11-23 23:52:38 -08:00
parent df8b80a2c0
commit 0645376730
5 changed files with 5 additions and 97 deletions
+1 -6
View File
@@ -15,15 +15,10 @@
# GPG configuration for user session
services.gpg-agent = {
enable = true;
pinentry.package = pkgs.pinentry-rofi; # Use rofi for consistency with desktop theme
pinentryPackage = pkgs.pinentry-curses;
enableSshSupport = true;
defaultCacheTtl = 28800; # 8 hours
maxCacheTtl = 86400; # 24 hours
extraConfig = ''
pinentry-program ${pkgs.writeShellScript "pinentry-rofi-themed" ''
exec ${pkgs.pinentry-rofi}/bin/pinentry-rofi -theme ~/.config/rofi/theme/passmenu.rasi "$@"
''}
'';
};
programs.gpg = {