nix/home/services/gpg-agent.nix

22 lines
548 B
Nix
Raw Normal View History

2022-04-01 17:17:22 +00:00
{pkgs, ...}: {
2022-03-31 17:34:51 +00:00
services.gpg-agent = {
enable = true;
enableExtraSocket = true;
enableScDaemon = true;
enableSshSupport = true;
defaultCacheTtl = 60;
maxCacheTtl = 120;
pinentryFlavor = "qt";
sshKeys = [
"0473DE36B65F21FF4575C9D5CE1D72E8DA82FA41"
"299421C6640F65F73658B37100305AB10397CC98"
"CD0386CDF06EEBFB7BF5045B54E51925EE7C29E7"
"9207EB49332FC3B64CDC012AAE0BFD11CF120FED"
"4474E9BFC13AB8437A28C9A6909F6810BE051074"
];
extraConfig = ''
ttyname $GPG_TTY
'';
};
2022-02-07 20:06:51 +00:00
}