23 lines
446 B
Nix
23 lines
446 B
Nix
{ config, ... }:
|
|
{
|
|
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;
|
|
pinentryFlavor = "curses";
|
|
enableSshSupport = true;
|
|
enableScDaemon = true;
|
|
grabKeyboardAndMouse = false;
|
|
};
|
|
}
|