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

{
  home.packages = with pkgs; with python311Packages; [
    # required dependencies
    ripgrep
    fd
    tree-sitter
    emacs-all-the-icons-fonts
    libappindicator
    poppler_utils
    emacs-lsp-booster
    nixd
    sqlite
  ];

  programs.emacs = {
    enable = true;
    package = pkgs.emacs29-pgtk;
  };
  xdg.configFile = {
    # "emacs/init.el".text = builtins.readFile ./init.el;
    "emacs/early-init.el".text = builtins.readFile ./early-init.el;
  };
}