nixcfg/homeManagerModules/apps/emacs/default.nix

34 lines
620 B
Nix
Raw Normal View History

2024-04-07 22:16:33 -04:00
{
pkgs,
lib,
config,
...
}: {
config = lib.mkIf config.alyraffauf.apps.emacs.enable {
2024-03-28 19:52:15 -04:00
programs.emacs = {
enable = true;
2024-04-07 22:16:33 -04:00
extraPackages = epkgs: (with epkgs; [
better-defaults
catppuccin-theme
markdown-mode
nix-mode
org
org-bullets
org-journal
org-roam
ox-pandoc
projectile
python
treemacs
treemacs-projectile
treemacs-tab-bar
use-package
yaml
yaml-mode
]);
2024-03-28 19:52:15 -04:00
package = pkgs.emacs-nox;
extraConfig = builtins.readFile ./emacs.el;
};
};
}