configuration.nix/home/laptop/programs/emacs/default.nix

60 lines
1.2 KiB
Nix
Raw Normal View History

2023-08-12 14:35:08 +02:00
{ pkgs, lib, ... }: {
home.packages = with pkgs; [
nodePackages_latest.prettier
nodePackages_latest.typescript
2023-08-16 10:41:58 +02:00
nodePackages_latest.eslint
2023-08-12 14:35:08 +02:00
nodePackages_latest.typescript-language-server
nodePackages_latest."@tailwindcss/language-server"
nodePackages_latest."@prisma/language-server"
2023-08-16 08:29:12 +02:00
2023-08-16 08:51:00 +02:00
ispell
2023-08-16 08:29:12 +02:00
rnix-lsp
2023-08-09 22:10:48 +02:00
];
2023-08-12 14:35:08 +02:00
2023-08-14 21:53:33 +02:00
programs.emacs = {
2023-08-12 14:35:08 +02:00
enable = true;
2023-08-16 08:03:48 +02:00
package = with pkgs;
(emacsPackagesFor emacs-unstable).emacsWithPackages (epkgs:
with epkgs; [
2023-08-16 17:53:05 +02:00
general
doom-themes
2023-08-16 08:03:48 +02:00
treesit-grammars.with-all-grammars
treesit-auto
prisma-mode
2023-08-16 10:41:58 +02:00
lsp-tailwindcss
2023-08-16 17:53:05 +02:00
evil
evil-collection
flycheck
ivy
ivy-rich
counsel
counsel-projectile
magit
forge
rainbow-delimiters
ivy-prescient
helpful
hydra
projectile
lsp-mode
lsp-ui
lsp-treemacs
lsp-ivy
company
company-box
dired-single
dired-open
bind-key
all-the-icons
all-the-icons-dired
smartparens
no-littering
command-log-mode
doom-modeline
2023-08-16 08:03:48 +02:00
]);
2023-08-16 17:53:05 +02:00
extraConfig = builtins.readFile ./init.el;
2023-08-12 14:35:08 +02:00
};
2023-08-09 22:10:48 +02:00
}