aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2023-06-13 18:56:58 -0700
committerGravatar Tom Willemse2023-06-13 18:56:58 -0700
commit9d50b486ac1ae23038b8bc42cef5cce789520b0e (patch)
tree35aedd32d2da8935d52a61941b7a7f3ea1ddb8c8
parente0ec6bfab646e67c188ce1c86fdd683f263f3df1 (diff)
downloademacs-config-9d50b486ac1ae23038b8bc42cef5cce789520b0e.tar.gz
emacs-config-9d50b486ac1ae23038b8bc42cef5cce789520b0e.zip
[oni-package] Clear package archives so that I can't use them
-rw-r--r--oni-package.el34
1 files changed, 5 insertions, 29 deletions
diff --git a/oni-package.el b/oni-package.el
index 0a283a8..e0594b9 100644
--- a/oni-package.el
+++ b/oni-package.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2022.0323.191305
+;; Version: 2023.0613.184755
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
@@ -47,35 +47,11 @@
;;;###autoload
(setq package-enable-at-startup nil)
-;;;###autoload (add-hook 'after-init-hook 'package-initialize)
-
-;;;###autoload
-(add-to-list 'package-archives
- '("nongnu" . "https://elpa.nongnu.org/nongnu/"))
-
-;;;###autoload
-(add-to-list 'package-archives
- '("melpa" . "https://melpa.org/packages/"))
-
-;;;###autoload
-(add-to-list 'package-archives
- '("oni" . "https://ryuslash.org/elpa/"))
-
-;;;###autoload
-(add-to-list 'package-archives
- '("vc-p4" . "https://ryuslash.gitlab.io/vc-p4/"))
-
-;;;###autoload
-(add-to-list 'package-archives
- '("circe-serenity" . "https://ryuslash.gitlab.io/circe-serenity/"))
-
-;;;###autoload
-(add-to-list 'package-archives
- '("org-azure-devops" . "https://ryuslash.gitlab.io/org-azure-devops/"))
-
+;;; Disable any package archives to make sure that I can't install any packages
+;;; through ELPA. I use Guix and should install packages through there.
+;; From: https://github.com/nekifirus/.emacs.d#packages-setup
;;;###autoload
-(add-to-list 'package-archives
- '("tekuti-el" . "https://ryuslash.srht.site/tekuti-el/elpa/"))
+(setq package-archives nil)
(setq package-update-news-on-upload t)