2023-09-15 14:53:38 +00:00
|
|
|
{ pkgs, config, ... }:
|
|
|
|
{
|
|
|
|
programs.emacs = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.emacs-gtk;
|
|
|
|
|
2023-09-24 18:09:05 +00:00
|
|
|
# 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
|
2023-09-15 14:53:38 +00:00
|
|
|
|
2023-09-24 18:09:05 +00:00
|
|
|
# evil
|
|
|
|
# evil-org
|
|
|
|
# evil-collection
|
|
|
|
# evil-surround
|
|
|
|
# ];
|
2023-09-15 14:53:38 +00:00
|
|
|
|
|
|
|
extraConfig = builtins.readFile ./init.el;
|
|
|
|
};
|
|
|
|
services.emacs = {
|
|
|
|
enable = true;
|
|
|
|
client.enable = true;
|
|
|
|
defaultEditor = true;
|
|
|
|
socketActivation.enable = true;
|
|
|
|
};
|
|
|
|
}
|