Files
FxNet/modules/hm/gpg.nix
2025-09-01 14:21:12 +03:00

34 lines
597 B
Nix

{
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
'';
};
};
}