fix: disable emacs devdocs update on startup

This caused errors when starting the emacs daemon with no internet
connection.
This commit is contained in:
Swarsel 2024-07-11 11:09:51 +02:00
parent af3224a1d5
commit 1af0cc3ac5
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
3 changed files with 4 additions and 3 deletions

View file

@ -91,7 +91,6 @@ window.addEventListener('load', addDarkmodeWidget);
#+end_export #+end_export
* Noweb-Ref blocks * Noweb-Ref blocks
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: h:d39b8dfb-536d-414f-9fc0-7d67df48cee4 :CUSTOM_ID: h:d39b8dfb-536d-414f-9fc0-7d67df48cee4
@ -1501,6 +1500,7 @@ Mostly just sets some opened ports for several games, enables virtualbox (which
firewall = { firewall = {
enable = true; enable = true;
allowedUDPPorts = [ 4380 27036 14242 34197 51820 ]; # 34197: factorio; 4380 27036 14242: barotrauma; 51820: wireguard allowedUDPPorts = [ 4380 27036 14242 34197 51820 ]; # 34197: factorio; 4380 27036 14242: barotrauma; 51820: wireguard
allowedTCPPorts = [ ]; # 34197: factorio; 4380 27036 14242: barotrauma; 51820: wireguard
allowedTCPPortRanges = [ allowedTCPPortRanges = [
{from = 27015; to = 27030;} # barotrauma {from = 27015; to = 27030;} # barotrauma
{from = 27036; to = 27037;} # barotrauma {from = 27036; to = 27037;} # barotrauma
@ -9489,7 +9489,7 @@ To install a documentation, use the =devdocs=install= command and select the app
(add-hook 'c++-ts-mode-hook (add-hook 'c++-ts-mode-hook
(lambda () (setq-local devdocs-current-docs '("cpp")))) (lambda () (setq-local devdocs-current-docs '("cpp"))))
(devdocs-update-all) ; (devdocs-update-all)
#+end_src #+end_src

View file

@ -32,6 +32,7 @@
firewall = { firewall = {
enable = true; enable = true;
allowedUDPPorts = [ 4380 27036 14242 34197 51820 ]; # 34197: factorio; 4380 27036 14242: barotrauma; 51820: wireguard allowedUDPPorts = [ 4380 27036 14242 34197 51820 ]; # 34197: factorio; 4380 27036 14242: barotrauma; 51820: wireguard
allowedTCPPorts = [ ]; # 34197: factorio; 4380 27036 14242: barotrauma; 51820: wireguard
allowedTCPPortRanges = [ allowedTCPPortRanges = [
{from = 27015; to = 27030;} # barotrauma {from = 27015; to = 27030;} # barotrauma
{from = 27036; to = 27037;} # barotrauma {from = 27036; to = 27037;} # barotrauma

View file

@ -1133,7 +1133,7 @@ create a new one."
(add-hook 'c++-ts-mode-hook (add-hook 'c++-ts-mode-hook
(lambda () (setq-local devdocs-current-docs '("cpp")))) (lambda () (setq-local devdocs-current-docs '("cpp"))))
(devdocs-update-all) ; (devdocs-update-all)
(use-package projectile (use-package projectile
:diminish projectile-mode :diminish projectile-mode