From 9220f1efc2f02e56c7bfe1748acd392e51cfd2dd Mon Sep 17 00:00:00 2001
From: noa
Date: Tue, 29 Apr 2025 20:36:41 +0800
Subject: Add package archives to early-init.el

---
 emacs/early-init.el | 6 ++++--
 1 file 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/")))
-- 
cgit 1.4.1-2-gfad0