nixos-config/hosts/d2nix-archives/home-manager/emacs.nix

42 lines
642 B
Nix

{ ... }:
{
services.emacs.enable = true;
programs.emacs = {
enable = true;
extraPackages = (epkgs:
(with epkgs; [
use-package
doom-themes
lsp-mode
web-mode
nix-mode
rust-mode
ledger-mode
direnv
company
yasnippet
prettier-js
smartparens
org
org-roam
magit
bbdb
projectile
ivy
counsel
counsel-projectile
lsp-ivy
which-key
elpaPackages.org
]));
};
home.file = {
".emacs.d/init.el" = {
source = ./configs/init.el;
};
};
}