Add gpg config

This commit is contained in:
Oystein Kristoffer Tveit 2022-08-16 03:24:31 +02:00
parent 68c1ee2656
commit 2699478658
1 changed files with 22 additions and 0 deletions

22
programs/gpg.nix Normal file
View File

@ -0,0 +1,22 @@
{ 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;
};
}