From d7015d311c08e3a754642f349210ab4c0c4d0d55 Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Sat, 15 Oct 2022 12:02:30 +0200 Subject: 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. --- home/config/dotfiles/spacemacs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'home/config/dotfiles/spacemacs') 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 -- cgit v1.2.3