mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-10 07:29:43 +00:00
30 lines
720 B
Nix
30 lines
720 B
Nix
|
{ config, ... }: {
|
||
|
programs = {
|
||
|
gpg = {
|
||
|
enable = true;
|
||
|
homedir = "${config.xdg.dataHome}/gnupg";
|
||
|
|
||
|
# I manage the keys manually
|
||
|
mutableKeys = true;
|
||
|
mutableTrust = true;
|
||
|
|
||
|
settings = {
|
||
|
keyserver = "hkps://keys.openpgp.org";
|
||
|
|
||
|
# Don't leak information in signature
|
||
|
no-emit-version = "";
|
||
|
no-comments = "";
|
||
|
export-options = "export-minimal";
|
||
|
|
||
|
# Display the long format of the key ID and show fingerprints by default
|
||
|
keyid-format = "0xlong";
|
||
|
with-fingerprint = "";
|
||
|
|
||
|
# Display UID validity of the keys
|
||
|
list-options = "show-uid-validity";
|
||
|
verify-options = "show-uid-validity";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|