Files
FxNet/modules/hm/gpg.nix
2025-11-06 14:06:07 +03:00

34 lines
601 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
# '';
};
};
}