gpg: Use pinentryPackage instead of pinentryFlavor

This commit is contained in:
Simon Bruder 2024-06-02 12:43:01 +02:00
parent f04e2a3f3a
commit 3963c6a5d8
Signed by: simon
GPG key ID: 347FF8699CDA0776

View file

@ -20,7 +20,7 @@
enableZshIntegration = true; enableZshIntegration = true;
enableSshSupport = lib.mkDefault nixosConfig.sbruder.gui.enable; enableSshSupport = lib.mkDefault nixosConfig.sbruder.gui.enable;
pinentryFlavor = if nixosConfig.sbruder.gui.enable then "gnome3" else "curses"; pinentryPackage = if nixosConfig.sbruder.gui.enable then pkgs.pinentry-gnome3 else pkgs.pinentry-curses;
defaultCacheTtl = 300; defaultCacheTtl = 300;
defaultCacheTtlSsh = defaultCacheTtl; defaultCacheTtlSsh = defaultCacheTtl;