This commit is contained in:
Grigory Shipunov 2022-05-25 19:27:42 +02:00
commit a953246971
Signed by: 0xa
GPG key ID: 91FA5E5BF9AA901C
17 changed files with 795 additions and 0 deletions

21
modules/emacs.nix Normal file
View file

@ -0,0 +1,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;
};
}