nixos/system/emacs.nix
Evie Litherland-Smith 5c959f8bf5 Reorganise a bunch of elisp file
Set package priority manually rather than using
crafted-early-init-config

Copy crafted-defaults-config to custom-defaults-config instead

Move some things out of init.el into relevant custom config files

Add some new packages (to be configured)
2023-10-27 08:03:51 +01:00

90 lines
1.7 KiB
Nix

{ config, lib, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
coreutils
fd
ripgrep
imagemagick
languagetool
wordnet
(aspellWithDicts (ds: with ds; [ en en-computers en-science ]))
];
services.emacs = {
enable = true;
install = true;
defaultEditor = true;
package = with pkgs;
((emacsPackagesFor emacs29-pgtk).emacsWithPackages (epkgs:
with epkgs; [
# theme-packages
doom-themes
# completion-packages
cape
consult
corfu
corfu-terminal
embark
embark-consult
marginalia
orderless
vertico
# ide-packages
editorconfig
aggressive-indent
ibuffer-project
treesit-grammars.with-all-grammars
treesit-auto
apheleia
direnv
goto-chg
rainbow-delimiters
yasnippet
yasnippet-snippets
nix-mode
rust-mode
# media-packages
emms
# org-packages
denote
org-appear
org-journal
# project-packages
projectile
magit
# ui-packages
all-the-icons
nerd-icons
page-break-lines
dashboard
helpful
which-key
link-hint
# writing-packages
pdf-tools
markdown-mode
pandoc-mode
auctex
auctex-latexmk
# email-packages
notmuch
notmuch-indicator
# feed-packages
elfeed
elfeed-org
elfeed-webkit
elfeed-tube
elfeed-tube-mpv
]));
};
}