mirror of
https://github.com/ItsDrike/nixdots
synced 2025-06-30 02:10:43 +00:00
Add gpg
This commit is contained in:
parent
70be05057b
commit
e7c53dbb63
3 changed files with 30 additions and 3 deletions
29
home/programs/terminal/tools/gpg.nix
Normal file
29
home/programs/terminal/tools/gpg.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue