[emacs] change the way package archives work
I don't think I need the https workaround anymore, but also I don't run windows anymore, so.
This commit is contained in:
parent
1befed740d
commit
7df30b6e67
2 changed files with 10 additions and 11 deletions
|
|
@ -63,7 +63,14 @@
|
|||
'(org-odd-levels-only t)
|
||||
'(org-todo-keywords '((sequence "TODO" "|" "DONE" "ABANDONED" "DEFERRED")))
|
||||
'(package-check-signature nil)
|
||||
'(package-selected-packages '(claudemacs))
|
||||
'(package-selected-packages
|
||||
'(adaptive-wrap add-node-modules-path bazel blacken claudemacs clipetty
|
||||
clojure-mode company dap-mode deadgrep doom-themes
|
||||
earthfile-mode eglot-java filladapt fish-mode flycheck-elm
|
||||
go-mode howm ink-mode jsonnet-mode magit poly-markdown
|
||||
prettier-js protobuf-mode ron-mode rust-mode scala-ts-mode
|
||||
sql-indent swift-mode terraform-mode typescript-mode
|
||||
wgsl-mode xterm-color zig-mode))
|
||||
'(package-vc-selected-packages '((claudemacs :url "https://github.com/cpoile/claudemacs")))
|
||||
'(reb-re-syntax 'string)
|
||||
'(rmail-mail-new-frame t)
|
||||
|
|
|
|||
|
|
@ -71,17 +71,9 @@
|
|||
;; =================================================================
|
||||
;; Packages
|
||||
;; =================================================================
|
||||
;; See http://dotyl.ink/l/qbmhz43kju
|
||||
(let* ((no-ssl (and (memq system-type '(windows-nt ms-dos))
|
||||
(not (gnutls-available-p))))
|
||||
(proto (if no-ssl "http" "https")))
|
||||
(setq package-archives
|
||||
'(("gnu" . "https://elpa.gnu.org/packages/")
|
||||
("org" . "https://orgmode.org/elpa/")
|
||||
))
|
||||
(add-to-list 'package-archives '("org" . "https://orgmode.org/elpa/"))
|
||||
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
|
||||
|
||||
(add-to-list 'package-archives (cons "melpa" (concat proto "://melpa.org/packages/")) t)
|
||||
)
|
||||
(package-initialize)
|
||||
(unless package-archive-contents
|
||||
(package-refresh-contents))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue