mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 20:50:15 +00:00
initial gpg setup
This commit is contained in:
15
modules/services/gnupg.nix
Normal file
15
modules/services/gnupg.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{ 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";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
Reference in New Issue
Block a user