nix-config/home/gburd/features/emacs/default.nix
Greg Burd f3fd89af54
A fork of Misterio77 and his standard template.
Many thangs to the hard work and generous availability of:
git@github.com:Misterio77/nix-config.git
2023-09-15 10:53:38 -04:00

33 lines
599 B
Nix

{ pkgs, config, ... }:
{
programs.emacs = {
enable = true;
package = pkgs.emacs-gtk;
overrides = final: _prev: {
nix-theme = final.callPackage ./theme.nix { inherit config; };
};
extraPackages = epkgs: with epkgs; [
nix-theme
nix-mode
magit
lsp-mode
which-key
mmm-mode
evil
evil-org
evil-collection
evil-surround
];
extraConfig = builtins.readFile ./init.el;
};
services.emacs = {
enable = true;
client.enable = true;
defaultEditor = true;
socketActivation.enable = true;
};
}