summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authornoa2025-04-29 20:36:41 +0800
committernoa2025-04-29 20:36:41 +0800
commit9220f1efc2f02e56c7bfe1748acd392e51cfd2dd (patch)
tree8081abf57ef5d4d37be6f2ad4ad8cbba328c8536 /emacs
parent57d53f5763bb9ea1a861b2abbaea1ffd37b457b0 (diff)
Add package archives to early-init.el HEAD main
Diffstat (limited to 'emacs')
-rw-r--r--emacs/early-init.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/emacs/early-init.el b/emacs/early-init.el
index 2a730bf..3388f0f 100644
--- a/emacs/early-init.el
+++ b/emacs/early-init.el
@@ -1,8 +1,6 @@
 ;;; early-init.el -*- lexical-binding: t; -*-
-;; Run before the package manager and ui are initialised
 
 (setopt inhibit-x-resources t
-        package-enable-at-startup nil
         frame-inhibit-implied-resize t)
 
 (push '(fullscreen . maximized) default-frame-alist)
@@ -14,3 +12,7 @@
 ;; h/t https://github.com/jamescherti/minimal-emacs.d/
 (when (fboundp 'tool-bar-setup)
   (advice-add #'tool-bar-setup :override #'ignore))
+
+(setq package-archives '(("melpa" . "https://melpa.org/packages/")
+                         ("gnu" . "https://elpa.gnu.org/packages/")
+                         ("nongnu" . "https://elpa.nongnu.org/nongnu/")))