nixos/home/emacs/default.nix

60 lines
1.1 KiB
Nix
Raw Normal View History

{ pkgs, ... }:
{
imports = [ ../git ];
programs.emacs.enable = true;
home.packages = with pkgs; [
# Emacs dependencies
ripgrep
coreutils
cmake
fd
graphviz
# Mail server setup
isync
mu
protonmail-bridge
# Language-specific requirements
ispell
findutils
sqlite
pandoc
gfortran
texlive.combined.scheme-medium
# Formatters
nixfmt
beautysh
nodePackages.fixjson
fprettify
shellharden
stylua
python3Packages.mdformat
# LSP servers
nil
fortls
(python3.withPackages (ps:
with ps; [
python-lsp-server
python-lsp-ruff
python-lsp-black
pyls-isort
pylsp-rope
pylsp-mypy
]))
nodePackages.yaml-language-server
nodePackages.bash-language-server
nodePackages.vscode-html-languageserver-bin
nodePackages.vscode-css-languageserver-bin
nodePackages.vscode-json-languageserver-bin
nodePackages.dockerfile-language-server-nodejs
shellcheck
marksman
luajitPackages.lua-lsp
texlab
];
}