From c13d32f8d771a1bd41627866531fa9e5aa41e21b Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sun, 24 Dec 2023 14:10:45 +0400 Subject: [PATCH] we --- config/emacs/emacs.org | 7 +++---- config/emacs/init.el | 5 ++--- default.nix | 1 + 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/config/emacs/emacs.org b/config/emacs/emacs.org index be38c448..1446bb11 100644 --- a/config/emacs/emacs.org +++ b/config/emacs/emacs.org @@ -1328,12 +1328,11 @@ I should just switch to Linux at this point :( (use-package smtpmail :straight t) #+end_src -** Epg +** Emacs Pinentry #+begin_src emacs-lisp - (use-package epg + (use-package pinentry :straight t - :config - (setq epg-pinentry-mode 'loopback)) + :config (pinentry-start)) #+end_src * Org Mode Configuration Setup ** Babel Languages diff --git a/config/emacs/init.el b/config/emacs/init.el index 9977f195..efba4be2 100644 --- a/config/emacs/init.el +++ b/config/emacs/init.el @@ -1093,10 +1093,9 @@ kept-old-versions 5) (use-package smtpmail :straight t) -(use-package epg +(use-package pinentry :straight t - :config - (setq epg-pinentry-mode 'loopback)) + :config (pinentry-start)) (org-babel-do-load-languages 'org-babel-load-languages diff --git a/default.nix b/default.nix index d03cea32..b3c6d4d5 100644 --- a/default.nix +++ b/default.nix @@ -119,6 +119,7 @@ # enableSSHSupport = true; settings = { allow-loopback-entry = true; + allow-emacs-pinentry = true; }; };