This commit is contained in:
Till 2026-03-29 14:23:01 +02:00
parent d8032cc35d
commit e945735fa1
61 changed files with 344 additions and 550 deletions

34
home/desktop-slim/gpg.nix Normal file
View file

@ -0,0 +1,34 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
pinentry-all
];
# moved to system
# services.gpg-agent = {
# enable = true;
# pinentry.package = pkgs.pinentry-all;
# pinentry.program = "pinentry";
# # enableSshSupport = true;
# };
programs.gpg = {
enable = true;
settings = {
no-emit-version = true;
no-comments = true;
keyserver = "hkps://keys.openpgp.org/";
keyserver-options = [
"no-honor-keyserver-url"
"include-revoked"
];
personal-cipher-preferences = "AES256 AES192 AES CAST5";
personal-digest-preferences = "SHA512 SHA384 SHA256 SHA224";
cert-digest-algo = "SHA512";
default-preference-list = "SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed";
};
};
}