nixos/system/emacs.nix

55 lines
930 B
Nix

{ pkgs, ... }: {
environment.systemPackages = with pkgs; [
# Emacs + requirements
emacs29-pgtk
fd
ripgrep
imagemagick
languagetool
wordnet
(aspellWithDicts (ds: with ds; [ en en-computers en-science ]))
# For EMMS
mp3info
# Language-specific requirements
sqlite
pandoc
texlive.combined.scheme-full
ghostscript
mupdf
poppler_utils
# Linters
nodePackages.stylelint
# Formatters
nodePackages.prettier
nixfmt
black
isort
fprettify
ruff
rustfmt
stylua
shfmt
# LSP Servers
nil
fortls
shellcheck
rust-analyzer
luajitPackages.lua-lsp
nodePackages.pyright
nodePackages.yaml-language-server
nodePackages.bash-language-server
# Common programming languages
rustc
cargo
lua
gfortran
(python3.withPackages (ps: with ps; [ numpy scipy xarray plotly ]))
];
}