diff options
-rw-r--r-- | users/sterni/emacs/default.nix | 6 | ||||
-rw-r--r-- | users/sterni/emacs/init.el | 13 |
2 files changed, 19 insertions, 0 deletions
diff --git a/users/sterni/emacs/default.nix b/users/sterni/emacs/default.nix index 87f5c3002128..1200fefe4790 100644 --- a/users/sterni/emacs/default.nix +++ b/users/sterni/emacs/default.nix @@ -36,6 +36,12 @@ let epkgs.rust-mode epkgs.tvlPackages.tvl epkgs.urweb-mode + + # TODO(sterni): until org-tracker is part of depot + epkgs.ivy + epkgs.dash + epkgs.s + epkgs.jiralib2 ]); configDirectory = pkgs.symlinkJoin { diff --git a/users/sterni/emacs/init.el b/users/sterni/emacs/init.el index 0828e4d77940..08c7aab7188c 100644 --- a/users/sterni/emacs/init.el +++ b/users/sterni/emacs/init.el @@ -107,6 +107,19 @@ org-default-notes-file (concat org-folder "/inbox.org") initial-buffer-choice org-default-notes-file)) +;; load org-tracker and mutable config on work laptop +(let ((org-tracker-src (concat (getenv "HOME") + "/src/el/org-tracker"))) + (when (file-exists-p org-tracker-src) + (add-to-list 'load-path org-tracker-src) + + (use-package org-tracker + :hook (org-mode . org-tracker-mode) + :config + (let ((jira-config (concat (getenv "HOME") + "/.config/emacs-custom/pa-jira.el"))) + (when (file-exists-p jira-config) (load jira-config)))))) + ;; ediff ; doesn't create new window for ediff controls which I always open accidentally (setq ediff-window-setup-function 'ediff-setup-windows-plain) |