summaryrefslogtreecommitdiff
path: root/modules/emacs.nix
blob: 52fdc52c34c26e7b27428ce2bff5911bbe425d79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ lib, pkgs, ... }:

{
  environment.systemPackages = with pkgs; [
    # language servers
    clang-tools
    clang

    sqlite
    graphviz
  ];

  services.emacs = {
    install = true;
    enable = false;
    # pure gtk, native compiled emacs with vterm and pdf-tools
    package = with pkgs; ((emacsPackagesFor emacs).emacsWithPackages (epkgs: [ epkgs.vterm ]));
    defaultEditor = false;
  };

}