nixos/modules/emacs.nix

34 lines
744 B
Nix
Raw Normal View History

{ lib, config, pkgs, inputs, ... }:
{
# home.packages = [
# (pkgs.emacsWithPackages {
# package = pkgs.emacs29;
# # config = ~/.emacs.d/init.el;
# extraEmacsPackages = epkgs: [
# epkgs.dash
# epkgs.compat
# epkgs.marginalia
# epkgs.page-break-lines
# epkgs.rainbow-mode
# epkgs.powershell
# epkgs.diminish
# # epkgs.general
# epkgs.eldoc
# ];
# }
#)];
programs.emacs = {
enable = true;
package = pkgs.emacs29-pgtk.override {
# inherit (pkgs) imagemagickBig;
withImageMagick = true;
};
# package = (pkgs.emacsWithPackages.override {
# imagemagick = pkgs.imagemagickBig;
# withImagemagick = true;
# };
# }
# );
};
}