refactor: make gpg-agent a common setting

This commit is contained in:
Swarsel 2024-07-25 14:41:23 +02:00
parent 5e2aae9558
commit 414ff779b6
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
10 changed files with 54 additions and 82 deletions

View file

@ -3,18 +3,6 @@
{
services.gpg-agent = {
enable = true;
enableSshSupport = true;
enableExtraSocket = true;
pinentryPackage = pkgs.pinentry.gtk2;
defaultCacheTtl = 600;
maxCacheTtl = 7200;
extraConfig = ''
allow-loopback-pinentry
allow-emacs-pinentry
'';
};
home = {
username = "TEMPLATE";