nixos/home/emacs/default.nix

54 lines
924 B
Nix
Raw Normal View History

{ pkgs, ... }:
{
# Emacs server service
services.emacs = {
enable = false;
package = pkgs.emacs28NativeComp;
defaultEditor = true;
startWithUserSession = false;
};
home.packages = with pkgs; [
# Emacs dependencies
emacs28NativeComp
git
ripgrep
coreutils
cmake
fd
graphviz
# Language-specific requirements
ispell
sqlite
pandoc
python3
gfortran
texlive.combined.scheme-medium
# Formatters
nixfmt
beautysh
black
nodePackages.fixjson
fprettify
isort
shellharden
stylua
python3Packages.mdformat
# LSP servers
nil
fortls
nodePackages.pyright
nodePackages.yaml-language-server
nodePackages.bash-language-server
2023-07-27 16:03:31 +01:00
nodePackages.vscode-css-languageserver-bin
nodePackages.vscode-json-languageserver-bin
shellcheck
2023-07-27 16:03:31 +01:00
marksman
luajitPackages.lua-lsp
texlab
];
}