{ lib, pkgs, config, osConfig, ... }: { programs = { gpg = { mutableKeys = false; mutableTrust = false; publicKeys = [ ]; }; }; services = { gpg-agent = { enable = config.programs.gpg.enable; enableFishIntegration = true; enableZshIntegration = true; enableSshSupport = true; enableScDaemon = true; pinentryPackage = pkgs.pinentry-qt; # extraConfig = lib.mkIf osConfig.services.desktopManager.plasma6.enable '' # pinentry-program ${pkgs.kwalletcli}/bin/pinentry-kwallet # ''; }; }; }