summaryrefslogtreecommitdiffstats
path: root/.emacs.d/etc/secrets.el
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2020-10-05 23:38:06 -0400
committerAmin Bandali <bandali@gnu.org>2020-10-05 23:38:06 -0400
commitd7dee82420a04e5c92e5b5ad316e14a49bd4d689 (patch)
tree9dceac59e3b0d40b0357e8854e191ac5559d41ab /.emacs.d/etc/secrets.el
parent927b50b7aec2da105bd5125dec272a89e38663c3 (diff)
downloadconfigs-d7dee82420a04e5c92e5b5ad316e14a49bd4d689.tar.gz
configs-d7dee82420a04e5c92e5b5ad316e14a49bd4d689.tar.xz
configs-d7dee82420a04e5c92e5b5ad316e14a49bd4d689.zip
Move GNU Emacs configs from ./ into .emacs.d/
I will be using the repository to store my configurations for other non-Emacs pieces of software. The repository itself will be located at ~/ rather than ~/.emacs.d/.
Diffstat (limited to '.emacs.d/etc/secrets.el')
-rw-r--r--.emacs.d/etc/secrets.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/.emacs.d/etc/secrets.el b/.emacs.d/etc/secrets.el
new file mode 100644
index 0000000..edfa1a6
--- /dev/null
+++ b/.emacs.d/etc/secrets.el
@@ -0,0 +1,5 @@
+(eval-when-compile (require 'auth-source))
+(defvar nday-students-token (eval-when-compile (plist-get (car (auth-source-search :host "nday-students.slack.com" :max 1)) :token)))
+
+(defvar canlock-password (eval-when-compile (funcall (plist-get (car (auth-source-search :host "gnus-canlock-password" :max 1)) :secret))))
+