2024-06-02 17:13:29 +02:00
|
|
|
{ pkgs, config, ... }:
|
2022-08-16 03:24:31 +02:00
|
|
|
{
|
|
|
|
programs.gpg = {
|
|
|
|
enable = true;
|
|
|
|
homedir = "${config.xdg.configHome}/gnupg";
|
|
|
|
# TODO: declare public keys and trust declaratively
|
|
|
|
# mutableKeys = false;
|
|
|
|
# mutableTrust = false;
|
|
|
|
# publicKeys = [];
|
|
|
|
# settings = {
|
|
|
|
|
|
|
|
# };
|
|
|
|
};
|
|
|
|
|
|
|
|
services.gpg-agent = {
|
|
|
|
enable = true;
|
2024-06-02 17:13:29 +02:00
|
|
|
pinentryPackage = pkgs.pinentry-curses;
|
2023-07-28 22:23:43 +02:00
|
|
|
enableExtraSocket = true;
|
2022-08-16 03:24:31 +02:00
|
|
|
enableSshSupport = true;
|
|
|
|
enableScDaemon = true;
|
|
|
|
grabKeyboardAndMouse = false;
|
|
|
|
};
|
|
|
|
}
|