summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Roelli <charles@aurox.ch>2026-02-05 09:05:01 +0100
committerCharles Roelli <charles@aurox.ch>2026-02-05 09:05:01 +0100
commit3c038d04ab9adc6d9e82bc33989a820e3d297544 (patch)
tree45787791d305cf5f2896ee907753cdd3b6ec8115
parentcd5c4bca8731bfc1dbe30044a1c3a3384bab7525 (diff)
Simplify .password-store directory setup
-rw-r--r--.emacs1
-rw-r--r--home-configuration.scm10
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