Add gpg config
This commit is contained in:
parent
68c1ee2656
commit
2699478658
22
programs/gpg.nix
Normal file
22
programs/gpg.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user