gpg: Increase passphrase remembering timeout
Sweet relief.
This commit is contained in:
parent
d276581d94
commit
7b8ff04f5d
|
@ -34,13 +34,17 @@
|
||||||
trust = "ultimate";
|
trust = "ultimate";
|
||||||
}];
|
}];
|
||||||
};
|
};
|
||||||
services.gpg-agent = {
|
services.gpg-agent = rec {
|
||||||
enableBashIntegration = true;
|
enableBashIntegration = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
pinentryFlavor = "gnome3";
|
pinentryFlavor = "gnome3";
|
||||||
# gnome3 is nicer, but requires gcr as a dbus package.
|
# gnome3 is nicer, but requires gcr as a dbus package.
|
||||||
# Which is in my NixOS config, and on non-NixOS too.
|
# Which is in my NixOS config, and on non-NixOS too.
|
||||||
# It will fall back to ncurses when running in non-graphics mode.
|
# It will fall back to ncurses when running in non-graphics mode.
|
||||||
|
defaultCacheTtl = 3600;
|
||||||
|
defaultCacheTtlSsh = defaultCacheTtl;
|
||||||
|
maxCacheTtl = 3*3600;
|
||||||
|
maxCacheTtlSsh = maxCacheTtl;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue