diff --git a/modules/programs/gpg.nix b/modules/programs/gpg.nix index 07e2fe277..58be6ff97 100644 --- a/modules/programs/gpg.nix +++ b/modules/programs/gpg.nix @@ -294,8 +294,7 @@ in { cert-digest-algo = mkDefault "SHA512"; s2k-digest-algo = mkDefault "SHA512"; s2k-cipher-algo = mkDefault "AES256"; - charset = mkDefault "utf-8"; - fixed-list-mode = mkDefault true; + display-charset = mkDefault "utf-8"; no-comments = mkDefault true; no-emit-version = mkDefault true; keyid-format = mkDefault "0xlong"; @@ -304,7 +303,6 @@ in { with-fingerprint = mkDefault true; require-cross-certification = mkDefault true; no-symkey-cache = mkDefault true; - use-agent = mkDefault true; }; programs.gpg.scdaemonSettings = { diff --git a/tests/modules/programs/gpg/override-defaults-expected.conf b/tests/modules/programs/gpg/override-defaults-expected.conf index 4b4f132d0..5d7f8b9fd 100644 --- a/tests/modules/programs/gpg/override-defaults-expected.conf +++ b/tests/modules/programs/gpg/override-defaults-expected.conf @@ -1,7 +1,6 @@ cert-digest-algo SHA512 -charset utf-8 default-preference-list SHA512 SHA384 SHA256 AES256 AES192 AES ZLIB BZIP2 ZIP Uncompressed -fixed-list-mode +display-charset utf-8 keyid-format 0xlong list-options show-uid-validity @@ -16,6 +15,5 @@ s2k-digest-algo SHA512 throw-keyids trusted-key 0xXXXXXXXXXXXXX trusted-key 0xYYYYYYYYYYYYY -use-agent verify-options show-uid-validity with-fingerprint