mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-10 06:22:56 +00:00
16 lines
387 B
Nix
16 lines
387 B
Nix
|
{ config, ... }: {
|
||
|
|
||
|
home-manager.users.${config.user} = {
|
||
|
programs.gpg.enable = true;
|
||
|
services.gpg-agent = {
|
||
|
enable = true;
|
||
|
defaultCacheTtl = 86400; # Resets when used
|
||
|
defaultCacheTtlSsh = 86400; # Resets when used
|
||
|
maxCacheTtl = 34560000; # Can never reset
|
||
|
maxCacheTtlSsh = 34560000; # Can never reset
|
||
|
pinentryFlavor = "tty";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
}
|