diff options
| author | Charles Roelli <charles@aurox.ch> | 2026-02-05 09:05:01 +0100 |
|---|---|---|
| committer | Charles Roelli <charles@aurox.ch> | 2026-02-05 09:05:01 +0100 |
| commit | 3c038d04ab9adc6d9e82bc33989a820e3d297544 (patch) | |
| tree | 45787791d305cf5f2896ee907753cdd3b6ec8115 | |
| parent | cd5c4bca8731bfc1dbe30044a1c3a3384bab7525 (diff) | |
Simplify .password-store directory setup
| -rw-r--r-- | .emacs | 1 | ||||
| -rw-r--r-- | home-configuration.scm | 10 |
2 files changed, 7 insertions, 4 deletions
@@ -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 |
