2023-08-28 10:38:22 +01:00
|
|
|
{ pkgs, ... }:
|
2023-08-28 12:48:56 +01:00
|
|
|
|
|
|
|
{
|
2023-09-02 08:41:07 +01:00
|
|
|
imports = [ ../accounts/default.nix ../git/default.nix ];
|
2023-08-28 12:48:56 +01:00
|
|
|
programs.emacs.enable = true;
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
# Emacs dependencies
|
|
|
|
ripgrep
|
|
|
|
coreutils
|
|
|
|
cmake
|
|
|
|
fd
|
|
|
|
graphviz
|
2023-09-01 16:30:08 +01:00
|
|
|
zip
|
|
|
|
unzip
|
2023-08-28 12:48:56 +01:00
|
|
|
|
|
|
|
# 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
|
|
|
|
];
|
2023-07-26 15:45:24 +01:00
|
|
|
}
|