Bit more comments
This commit is contained in:
parent
3ccb0abfe5
commit
08f1049cc1
|
@ -33,6 +33,7 @@
|
||||||
};
|
};
|
||||||
publicKeys = [
|
publicKeys = [
|
||||||
{
|
{
|
||||||
|
# Always install my own public key
|
||||||
source = builtins.fetchurl {
|
source = builtins.fetchurl {
|
||||||
url = "https://keys.openpgp.org/vks/v1/by-fingerprint/4FBA930D314A03215E2CDB0A8312C8CAC1BAC289";
|
url = "https://keys.openpgp.org/vks/v1/by-fingerprint/4FBA930D314A03215E2CDB0A8312C8CAC1BAC289";
|
||||||
sha256 = "sha256:10y9xqcy1vyk2p8baay14p3vwdnlwynk0fvfbika65hz2z8yw2cm";
|
sha256 = "sha256:10y9xqcy1vyk2p8baay14p3vwdnlwynk0fvfbika65hz2z8yw2cm";
|
||||||
|
@ -44,12 +45,14 @@
|
||||||
services.gpg-agent = rec {
|
services.gpg-agent = rec {
|
||||||
enableBashIntegration = true;
|
enableBashIntegration = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
pinentryPackage = pkgs.pinentry-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.
|
||||||
|
pinentryPackage = pkgs.pinentry-gnome3;
|
||||||
|
# If inactive, the key will be forgotten after this time
|
||||||
defaultCacheTtl = 3600;
|
defaultCacheTtl = 3600;
|
||||||
defaultCacheTtlSsh = defaultCacheTtl;
|
defaultCacheTtlSsh = defaultCacheTtl;
|
||||||
|
# If active, the key will be forgotten adfter this time
|
||||||
maxCacheTtl = 3 * 3600;
|
maxCacheTtl = 3 * 3600;
|
||||||
maxCacheTtlSsh = maxCacheTtl;
|
maxCacheTtlSsh = maxCacheTtl;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue