From 3c038d04ab9adc6d9e82bc33989a820e3d297544 Mon Sep 17 00:00:00 2001 From: Charles Roelli Date: Thu, 5 Feb 2026 09:05:01 +0100 Subject: Simplify .password-store directory setup --- .emacs | 1 - home-configuration.scm | 10 +++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.emacs b/.emacs index 4cf31a9..47077ab 100644 --- a/.emacs +++ b/.emacs @@ -3,7 +3,6 @@ ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. - '(auth-source-pass-filename "~/Code/home/.password-store") '(backup-directory-alist '(("." . "~/Backups"))) '(custom-file "~/Code/home/.emacs") '(rcirc-server-alist diff --git a/home-configuration.scm b/home-configuration.scm index 9614a03..852e690 100644 --- a/home-configuration.scm +++ b/home-configuration.scm @@ -50,8 +50,7 @@ (services (append (list (simple-service 'home-environment-variables-service home-environment-variables-service-type - '(("EDITOR" . "emacsclient") - ("PASSWORD_STORE_DIR" . "/home/charles/Code/home/.password-store"))) + '(("EDITOR" . "emacsclient"))) (service home-bash-service-type (home-bash-configuration (aliases '(("egrep" . "egrep --color=auto") @@ -68,7 +67,12 @@ ".bash_logout" "bash_logout"))))) (service home-files-service-type - (list (list ".emacs" (local-file ".emacs" "emacs")))) + (list + (list ".emacs" (local-file ".emacs" "emacs")) + (list ".password-store" + (local-file ".password-store" + "password-store" + #:recursive? #t)))) (service home-msmtp-service-type (home-msmtp-configuration (accounts -- cgit v1.3