2024-04-07 22:16:33 -04:00
|
|
|
{
|
|
|
|
config,
|
2024-07-18 21:05:35 -04:00
|
|
|
lib,
|
|
|
|
pkgs,
|
2024-04-07 22:16:33 -04:00
|
|
|
...
|
|
|
|
}: {
|
2024-06-26 22:13:02 -04:00
|
|
|
config = lib.mkIf config.ar.home.apps.emacs.enable {
|
2024-03-28 19:52:15 -04:00
|
|
|
programs.emacs = {
|
|
|
|
enable = true;
|
2024-07-01 22:59:41 -04:00
|
|
|
extraConfig = builtins.readFile ./emacs.el;
|
|
|
|
|
2024-04-07 22:16:33 -04:00
|
|
|
extraPackages = epkgs: (with epkgs; [
|
|
|
|
better-defaults
|
|
|
|
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-07-01 22:59:41 -04:00
|
|
|
|
2024-03-28 19:52:15 -04:00
|
|
|
package = pkgs.emacs-nox;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|