nixconfig/emacs/emacs.nix

79 lines
1.4 KiB
Nix
Raw Normal View History

2023-11-15 16:09:47 +00:00
{ config, lib, pkgs, ...}:
{
home.file.".emacs.d/early-init.el" = {
enable = false;
text = "(setq package-enable-at-startup nil)";
};
home.file.".emacs.d/init.el" = {
enable = true;
text = builtins.readFile ./init.el;
};
home.file.".emacs.d/templates" = {
enable = true;
text = builtins.readFile ./templates;
};
programs.emacs = {
enable = true;
package = pkgs.emacs29-gtk3;
extraConfig = builtins.readFile ./init.el;
extraPackages = epkgs: with epkgs; [
cape
catppuccin-theme
cider
circe
clojure-ts-mode
code-review
color-theme-modern
consult
consult-eglot
corfu
corfu-terminal
dhall-mode
editorconfig
eglot
el-patch
embark
embark-consult
evil
2023-11-17 11:20:24 +00:00
evil-cleverparens
2023-11-15 16:09:47 +00:00
evil-collection
2023-11-21 11:59:44 +00:00
evil-easymotion
evil-snipe
2023-11-15 16:09:47 +00:00
forge
geiser
git-gutter
goto-chg
2023-11-19 23:03:24 +00:00
guix
2023-11-15 16:09:47 +00:00
keychain-environment
lsp-scheme
magit
magit-todos
marginalia
moe-theme
nerd-icons-completion
nerd-icons-corfu
2023-11-16 10:30:36 +00:00
nix-mode
2023-11-15 16:09:47 +00:00
nix-ts-mode
orderless
org
org-modern
org-rainbow-tags
org-roam
org-roam-ui
pass
password-store
password-store-otp
2023-11-17 02:22:38 +00:00
plan9-theme
2023-11-15 16:09:47 +00:00
rainbow-delimiters
2023-11-17 11:20:24 +00:00
smartparens
2023-11-15 16:09:47 +00:00
tempel
tree-sitter
tree-sitter-langs
vertico
websocket
which-key
];
};
}