From 82b59ca86fdd40a93d899ba0f9a8f296b1491120 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Fri, 2 Jun 2023 20:35:24 +0200 Subject: Modernise GPG configuration --- tw/home.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tw/home.scm') diff --git a/tw/home.scm b/tw/home.scm index 3bb47b97..cade5881 100644 --- a/tw/home.scm +++ b/tw/home.scm @@ -53,8 +53,10 @@ (simple-service 'gnupg-config home-files-service-type `(;; GnuPG config files must be in ~/.local/share/gnupg, not ~/.config, ;; so we can't use `home-xdg-configuration-files-service-type'. - (".local/share/gnupg/dirmngr.conf" ,(local-file "home/files/dirmngr.conf")) - (".local/share/gnupg/gpg.conf" ,(local-file "home/files/gpg.conf")) + (".local/share/gnupg/dirmngr.conf" + ,(plain-file "dirmngr.conf" "keyserver hkps://keys.openpgp.org")) + (".local/share/gnupg/gpg.conf" + ,(local-file "home/files/gpg.conf")) (".local/share/gnupg/gpg-agent.conf" ,(mixed-text-file "gpg-agent.conf" "\ pinentry-program " (if gui-pinentry? -- cgit v1.2.3