aboutsummaryrefslogtreecommitdiff
path: root/modules/workstation/emacs/default.nix
blob: c76029fe1ddf50254bca1f1ea69c7ed2c2c195a0 (plain)
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
with import <nixpkgs> {};

pkgs.emacsWithPackages (epkgs:
    (with epkgs; [
      (runCommand "init.el" {} ''
          mkdir -p $out/share/emacs/site-lisp
          cp ${./init.el} $out/share/emacs/site-lisp/default.el
        '')

      # Language support
      fish-mode
      lsp-mode
      markdown-mode
      nim-mode
      nix-mode
      python-mode
      rust-mode

      centaur-tabs
      color-identifiers-mode
      color-theme-sanityinc-tomorrow
      company
      company-lsp
      direnv
      fzf
      ido-vertical-mode
      ledger-mode
      lsp-ui
      magit
      monokai-theme
      multiple-cursors
      notmuch
      org
      paredit
      protobuf-mode
      scad-mode
      smex
      sublimity
      treemacs
      undo-tree
      visual-fill-column
      vterm
      which-key
      yasnippet
    ]))