Move external Emacs packages to separate file to make things easier to read

This commit is contained in:
Evie Litherland-Smith 2024-07-16 07:31:51 +01:00
parent d952c2c791
commit ca6997fb9a
2 changed files with 73 additions and 68 deletions

View file

@ -51,74 +51,14 @@
(load-theme '${custom-theme-name})
'';
extraPackages = epkgs:
with epkgs; [
with epkgs;
[
# Tree-sitter grammars, not a real Emacs package
treesit-grammars.with-all-grammars
# Maildir utils with linked Emacs package
mu4e
# Theme
base16-theme
# UI
all-the-icons
nerd-icons
nerd-icons-completion
nerd-icons-corfu
nerd-icons-dired
nerd-icons-ibuffer
minions
ligature
page-break-lines
helpful
which-key
ace-window
link-hint
diff-hl
# Completion
vertico
orderless
marginalia
cape
corfu
corfu-terminal
consult
consult-eglot
consult-flyspell
embark
embark-consult
flyspell-correct
tempel
# IDE
treesit-auto
magit
forge
flymake-popon
flymake-shellcheck
flymake-yamllint
flymake-eslint
apheleia
envrc
rainbow-delimiters
aggressive-indent
python-docstring
nix-mode
lua-mode
# Writing
org-roam
org-noter
citar
citar-embark
markdown-mode
pandoc-mode
auctex
htmlize
# Other
password-store
emms
bbdb
ement
elfeed
elfeed-org
];
]
++ (import ./emacs-packages.nix epkgs);
};
home.packages = with pkgs; [
# Emacs requirements

View file

@ -0,0 +1,65 @@
epkgs:
with epkgs; [
# Theme
base16-theme
# UI
all-the-icons
nerd-icons
nerd-icons-completion
nerd-icons-corfu
nerd-icons-dired
nerd-icons-ibuffer
minions
ligature
page-break-lines
helpful
which-key
ace-window
link-hint
diff-hl
# Completion
vertico
orderless
marginalia
cape
corfu
corfu-terminal
consult
consult-eglot
consult-flyspell
embark
embark-consult
flyspell-correct
tempel
# IDE
treesit-auto
magit
forge
flymake-popon
flymake-shellcheck
flymake-yamllint
flymake-eslint
apheleia
envrc
rainbow-delimiters
aggressive-indent
python-docstring
nix-mode
lua-mode
# Writing
org-roam
org-noter
citar
citar-embark
markdown-mode
pandoc-mode
auctex
htmlize
# Other
password-store
emms
bbdb
ement
elfeed
elfeed-org
]