aboutsummaryrefslogtreecommitdiff
path: root/home-manager/general/programs/emacs/default.nix
blob: db90f2cad1c54987ff0366478b9963eea55454b8 (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
{ pkgs, ... }:

{
  services.emacs = {
    enable = true;
    package = pkgs.emacs29-pgtk;
  };

  programs.emacs = {
    enable = true;
    package = pkgs.emacs29-pgtk;
  };
  home.packages = with pkgs; with python311Packages; [
    tree-sitter
    emacs-all-the-icons-fonts
    libappindicator
    poppler_utils
    emacs-lsp-booster
    nixd
  ];
  xdg.configFile = {
    # "emacs/init.el".text = builtins.readFile ./init.el;
    "emacs/early-init.el".text = builtins.readFile ./early-init.el;
  };
}