diff options
| author | DemonKingSwarn <rockingswarn@gmail.com> | 2026-04-20 18:44:57 +0530 |
|---|---|---|
| committer | DemonKingSwarn <rockingswarn@gmail.com> | 2026-04-20 18:44:57 +0530 |
| commit | c1967a274762f855f466ebdfca2225ebae700e89 (patch) | |
| tree | 60ad02f36962035aa01748d861ef385900bef09c /home/gpg.nix | |
| parent | 433e009ddc88de9c1de8bd2131a812b68704f093 (diff) | |
| download | odysseus-c1967a274762f855f466ebdfca2225ebae700e89.zip odysseus-c1967a274762f855f466ebdfca2225ebae700e89.tar.gz | |
XNAMEX sucks
an automated commit
Diffstat (limited to 'home/gpg.nix')
| -rw-r--r-- | home/gpg.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/home/gpg.nix b/home/gpg.nix new file mode 100644 index 0000000..f09bab7 --- /dev/null +++ b/home/gpg.nix @@ -0,0 +1,26 @@ +{ pkgs, ... }: + +{ + programs.gpg = { + enable = true; + + settings = { + personal-digest-preferences = "SHA512"; + cert-digest-algo = "SHA512"; + cipher-algo = "AES256"; + default-preference-list = "SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed"; + personal-cipher-preferences = "TWOFISH CAMELLIA256 AES 3DES"; + throw-keyids = true; + keyid-format = "0xlong"; + with-fingerprint = true; + }; + }; + + services.gpg-agent = { + enable = true; + defaultCacheTtl = 43200; + maxCacheTtl = 43200; + + pinentry.package = pkgs.pinentry-curses; + }; +} |
