Use emacs pinentry

This commit is contained in:
Ray Miller 2024-11-29 18:06:28 +00:00
parent 8017e03c46
commit 89b0a2cd68

View file

@ -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")))))))