summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2022-10-15 12:02:30 +0200
committerQuentin Aristote <quentin@aristote.fr>2022-10-15 12:02:30 +0200
commitd7015d311c08e3a754642f349210ab4c0c4d0d55 (patch)
tree1bf41d02467d7b583f539564680271e4c9d91ca7
parent67b2f02c7e86308bc6574a91f471b3b668ec813a (diff)
home: config: spacemacs: disable auto refresh of packages on startup
There is already a daily service updating the packages (defined in home/config/emacs.nix). Update on startup is thus not necessary and blocks the launch of the emacs daemon when the connection to melpa times out.
-rw-r--r--home/config/dotfiles/spacemacs5
1 files changed, 4 insertions, 1 deletions
diff --git a/home/config/dotfiles/spacemacs b/home/config/dotfiles/spacemacs
index e1c02c5..a148588 100644
--- a/home/config/dotfiles/spacemacs
+++ b/home/config/dotfiles/spacemacs
@@ -77,6 +77,9 @@ This function should only modify configuration layer settings."
why3
)
+ ;; disable auto-update of packages on startup
+ configuration-layer--package-archives-refreshed t
+
;; List of additional packages that will be installed without being wrapped
;; in a layer (generally the packages are installed only and should still be
;; loaded using load/require/use-package in the user-config section below in
@@ -173,7 +176,7 @@ It should only modify the values of Spacemacs settings."
;; when the current branch is not `develop'. Note that checking for
;; new versions works via git commands, thus it calls GitHub services
;; whenever you start Emacs. (default nil)
- dotspacemacs-check-for-update t
+ dotspacemacs-check-for-update nil
;; If non-nil, a form that evaluates to a package directory. For example, to
;; use different package directories for different Emacs versions, set this