aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/overlays/kookie/emacs/default.nix
blob: 4ee282acaf4086175ae2897d5ed8fbcfeba40bdd (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
{ stdenv, lib, pkgs, ... } @ args:

with (import ./builder.nix args);
pkgs.emacsWithPackages (epkgs:
  let
    include = path: (import path { inherit buildModule pkgs epkgs; });
    modules = [
      ./base
      ./move-lines
      ./multi-cursor
      ./kookie-notmuch
      ./notmuch-rules
      ./org
      ./rust
      ./theme
    ];
    kookie-config = bootstrap (map (p: include p) modules);
  in
    with epkgs; [
      kookie-config

      ##################################################################
      # A set of simple module that don't require special configuration
      #
      #

      # Simple language modes
      fish-mode
      markdown-mode
      nim-mode
      nix-mode
      python-mode

      # Utility moduse
      direnv
      fzf
      magit
      treemacs
      undo-tree
      visual-fill-column
      which-key
    ])