From 89b0a2cd684dbd9274fa16869e4e303d8f5f8bf8 Mon Sep 17 00:00:00 2001 From: Ray Miller Date: Fri, 29 Nov 2024 18:06:28 +0000 Subject: [PATCH] Use emacs pinentry --- home-configuration.scm | 74 ++++++++++++++++++++++-------------------- 1 file changed, 39 insertions(+), 35 deletions(-) diff --git a/home-configuration.scm b/home-configuration.scm index 8df7678..e127a33 100644 --- a/home-configuration.scm +++ b/home-configuration.scm @@ -6,22 +6,23 @@ (use-modules (gnu home) (gnu packages) + (gnu packages gnupg) (gnu services) (guix gexp) (gnu home services shells) - (gnu home services dotfiles) - (gnu home services gnupg)) + (gnu home services dotfiles) + (gnu home services gnupg)) (home-environment - ;; Below is the list of packages that will show up in your - ;; Home profile, under ~/.guix-home/profile. + ;; Below is the list of packages that will show up in your + ;; Home profile, under ~/.guix-home/profile. (packages (specifications->packages (list "emacs-no-x" - "git" - "git-crypt" - "git-lfs" - "glibc-locales" - "gnupg" - ;;"go@1.23.2" + "git" + "git-crypt" + "git-lfs" + "glibc-locales" + "gnupg" + ;;"go@1.23.2" "guile" "guile-algorithms" "guile-config" @@ -46,29 +47,32 @@ "guile-srfi-235" "guile-ssh" "guile-tap" - "nss-certs" - "pass-git-helper" - "password-store" - "recutils"))) + "nss-certs" + "pass-git-helper" + "password-store" + "pinentry-emacs" + "recutils"))) - ;; Below is the list of Home services. To search for available - ;; services, run 'guix home search KEYWORD' in a terminal. - (services - (list (service home-bash-service-type - (home-bash-configuration - (guix-defaults? #t) - (environment-variables '(("XDG_RUNTIME_DIR" . "/home/ray/.local/run"))) - (aliases '(("grep" . "grep --color=auto") ("ll" . "ls -l") - ("ls" . "ls -p --color=auto"))) - (bashrc (list (local-file - "/home/ray/Workspace/guix-config/.bashrc" - "bashrc"))) - (bash-profile (list (local-file - "/home/ray/Workspace/guix-config/.bash_profile" - "bash_profile"))))) - (service home-dotfiles-service-type - (home-dotfiles-configuration - (directories '("./dotfiles")) - (layout 'stow))) - (service home-gpg-agent-service-type - (home-gpg-agent-configuration))))) + ;; Below is the list of Home services. To search for available + ;; services, run 'guix home search KEYWORD' in a terminal. + (services + (list (service home-bash-service-type + (home-bash-configuration + (guix-defaults? #t) + (environment-variables '(("XDG_RUNTIME_DIR" . "/home/ray/.local/run"))) + (aliases '(("grep" . "grep --color=auto") ("ll" . "ls -l") + ("ls" . "ls -p --color=auto"))) + (bashrc (list (local-file + "/home/ray/Workspace/guix-config/.bashrc" + "bashrc"))) + (bash-profile (list (local-file + "/home/ray/Workspace/guix-config/.bash_profile" + "bash_profile"))))) + (service home-dotfiles-service-type + (home-dotfiles-configuration + (directories '("./dotfiles")) + (layout 'stow))) + (service home-gpg-agent-service-type + (home-gpg-agent-configuration + (pinentry-program + (file-append pinentry-emacs "/bin/pinentry-emacs")))))))