From 97c3c4fe551b7545ad174f7d65157dd77b7a2e27 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sun, 24 Dec 2023 13:35:08 +0400 Subject: [PATCH] gpg in emacs??? --- config/emacs/emacs.org | 2 +- config/emacs/init.el | 2 +- default.nix | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/config/emacs/emacs.org b/config/emacs/emacs.org index 5ce1c645..be38c448 100644 --- a/config/emacs/emacs.org +++ b/config/emacs/emacs.org @@ -1333,7 +1333,7 @@ I should just switch to Linux at this point :( (use-package epg :straight t :config - (setq epg-inentry-mode 'loopback)) + (setq epg-pinentry-mode 'loopback)) #+end_src * Org Mode Configuration Setup ** Babel Languages diff --git a/config/emacs/init.el b/config/emacs/init.el index 5a1a9fca..9977f195 100644 --- a/config/emacs/init.el +++ b/config/emacs/init.el @@ -1096,7 +1096,7 @@ kept-old-versions 5) (use-package epg :straight t :config - (setq epg-inentry-mode 'loopback)) + (setq epg-pinentry-mode 'loopback)) (org-babel-do-load-languages 'org-babel-load-languages diff --git a/default.nix b/default.nix index 5de2ff98..d03cea32 100644 --- a/default.nix +++ b/default.nix @@ -117,6 +117,9 @@ enable = true; pinentryFlavor = "gtk2"; # enableSSHSupport = true; + settings = { + allow-loopback-entry = true; + }; }; programs.git = {