nixos/system/emacs.nix

90 lines
1.7 KiB
Nix
Raw Normal View History

{ 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;
2023-10-25 09:28:56 +01:00
defaultEditor = true;
package = with pkgs;
((emacsPackagesFor emacs29-pgtk).emacsWithPackages (epkgs:
with epkgs; [
2023-10-27 07:18:16 +01:00
# 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
2023-10-26 16:11:52 +01:00
# media-packages
emms
# org-packages
denote
org-appear
2023-10-24 11:25:16 +01:00
org-journal
2023-10-27 07:18:16 +01:00
# project-packages
magit
# ui-packages
all-the-icons
nerd-icons
2023-10-27 07:18:16 +01:00
page-break-lines
dashboard
helpful
2023-10-27 07:18:16 +01:00
which-key
link-hint
2023-10-28 11:14:27 +01:00
display-wttr
# writing-packages
2023-10-27 07:18:16 +01:00
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
]));
};
}