diff --git a/modules/tools/password-store/config.el b/modules/tools/password-store/config.el index 1609dab0b..52912280a 100644 --- a/modules/tools/password-store/config.el +++ b/modules/tools/password-store/config.el @@ -36,8 +36,8 @@ ;; Is built into Emacs 26+ -;; TODO don't add password-store to auth-sources? -(if (require 'auth-store-pass nil t) - (auth-source-pass-enable) - (def-package! auth-password-store - :config (auth-pass-enable))) +(when (featurep! +auth) + (if (require 'auth-store-pass nil t) + (auth-source-pass-enable) + (def-package! auth-password-store + :config (auth-pass-enable))))