               (run-with-idle-timer 20 t #'db/export-diary))
 
             ;; Drag-and-Drop images into org-mode buffer
-            (use-package org-download)
+            (use-package org-download
+              :init (setq org-download-method 'attach))
 
             ;; Hack: The default implementation is too slow, because it is
             ;; parsing all properties of an entry by default.  Let’s simplify

                ("CONT" "TODO" "READ" "WAIT" "GOTO" "DELG")
                ("NOP")
                "")

              org-agenda-custom-commands
              `(("A" "Main List"

(use-package nsm
  :defer t
  :init (setq network-security-level 'high
              nsm-save-host-names t
              nsm-settings-file (expand-file-name
                                 "~/.emacs.d/private/network-security.data"))
  :config (advice-add 'nsm-write-settings
                      :before #'db/sort-nsm-permanent-settings))

