summaryrefslogtreecommitdiff
path: root/.emacs.d/init-spw.el
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-12-15 22:56:10 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-12-15 22:58:59 -0700
commite7d0dd51e776ff01b0e880c7d57f8684e4ea5175 (patch)
tree18b2185967841f37e36dfb6e278121431faf928c /.emacs.d/init-spw.el
parent56fda980860d9ae0907dea7238887af1495312a1 (diff)
downloaddotfiles-e7d0dd51e776ff01b0e880c7d57f8684e4ea5175.tar.gz
merge init.el into init-spw.el & drop calling package-initialize
We are not bytecompiling anything under ~/.emacs.d/ anymore.
Diffstat (limited to '.emacs.d/init-spw.el')
-rw-r--r--.emacs.d/init-spw.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/.emacs.d/init-spw.el b/.emacs.d/init-spw.el
index ef9ec6ca..29e5afb6 100644
--- a/.emacs.d/init-spw.el
+++ b/.emacs.d/init-spw.el
@@ -170,6 +170,17 @@ something which should happen just once."
;;;; Startup & basic preferences
+;; don't accept invalid SSL certs or small primes
+(with-eval-after-load 'gnutls
+ (setq gnutls-verify-error t
+ gnutls-min-prime-bits 1024))
+
+(with-eval-after-load 'nsm
+ (setq network-security-level 'paranoid))
+
+;; seems to be needed to make HTTPS connections on Debian buster (at least)
+(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
+
(setq custom-file (concat user-emacs-directory "init-custom.el"))
(load (concat user-emacs-directory "init-custom"))