packages/emacs.nix (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 | { pkgs, emacs ? pkgs.emacs, stdenv }: let myEmacs = emacs; emacsWithPackages = (pkgs.emacsPackagesNgGen myEmacs).emacsWithPackages; in emacsWithPackages (epkgs: (with epkgs.melpaStablePackages; [ diminish bind-key use-package smartparens ]) ++ (with epkgs.melpaPackages; [ ace-link ace-window add-node-modules-path ag auto-compile avy bbdb beginend cider clj-refactor clojure-mode cmd-to-echo command-log-mode company company-go company-lsp company-restclient company-tern company-web counsel counsel-projectile crux cyphejor define-word dired-narrow dired-subtree discover-my-major dockerfile-mode docker-tramp docker-compose-mode dtrt-indent dumb-jump eacl easy-hugo editorconfig elisp-slime-nav emmet-mode ensime exec-path-from-shell expand-region eyebrowse flow-minor-mode flycheck flycheck-flow flycheck-pos-tip flycheck-vale fontawesome geiser ggtags ghq git-gutter-fringe git-messenger git-timemachine go-eldoc go-mode go-projectile goto-chg haskell-mode highlight-stages helpful imenu-anywhere indium jinja2-mode js2-mode js2-refactor json-mode ledger-mode lsp-javascript-typescript lsp-mode magit magithub markdown-mode mocha move-text multiple-cursors nginx-mode nix-mode nix-sandbox outorg outshine navi-mode org-journal page-break-lines paredit password-store projectile projectile-ripgrep quickrun relative-buffers restclient ripgrep rjsx-mode php-mode scala-mode scss-mode shrink-whitespace slime smart-tabs-mode smex spaceline suggest swiper tern toml-mode typescript-mode undo-tree visual-regexp volatile-highlights web-mode white-theme wgrep-ag which-key yaml-mode ]) ++ (with epkgs.elpaPackages; [ rainbow-mode ]) ++ [ epkgs.redshank # I just need the one org-package epkgs.orgPackages.org-plus-contrib epkgs.hook-helpers epkgs.dired-du # From main packages set ]) |