diff --git a/bundle/bundle--package.el b/bundle/bundle--package.el index 8456dcdf..e979d009 100644 --- a/bundle/bundle--package.el +++ b/bundle/bundle--package.el @@ -144,6 +144,9 @@ (add-to-list 'eglot-server-programs '((c++-mode c-mode) "ccls")))) (use-package sql + :if (or (and (eq system-type 'windows-nt) + (file-directory-p "C:/Program Files/PostgreSQL/16/bin/psql.exe")) + (eq system-type 'gnu/linux)) :config (setq sql-connection-alist '((finance-db @@ -304,11 +307,9 @@ ;; :hook (typescript-mode . eglot-ensure) ;; :config (setq typescript-indent-level 2)) -(when (eq system-type 'gnu/linux) - (use-package spotify :bind ("S-" . spotify-playpause)) - ;; (use-package clojure-mode) - ;; (use-package cider) - ) +(use-package spotify + :if (eq system-type 'gnu/linux) + :bind ("S-" . spotify-playpause)) (use-package mastodon :defer t