43 lines
1 KiB
Nix
43 lines
1 KiB
Nix
# home-manager configuration for Emacs
|
|
{lib, pkgs, ...}:
|
|
let
|
|
emacs-config = builtins.fetchGit {
|
|
url = "git@git.nirgendwo.xyz:janis/dot-emacs.git";
|
|
ref = "main";
|
|
rev = "39d889549f2b0b5c5392852daa862437e080a710";
|
|
};
|
|
in {
|
|
# TODO: turn this into a FHS or package so these dependencies don't have to be
|
|
# accessible from the global namespace.
|
|
home.packages = with pkgs; [
|
|
emacs
|
|
enchant # spell checking
|
|
ripgrep # for Emacs' ripgrep integration
|
|
libvterm-neovim # vterm support for Emacs
|
|
nodejs_24
|
|
copilot-language-server-fhs
|
|
cmake
|
|
libtool
|
|
gnumake
|
|
gcc
|
|
texlive.combined.scheme-full
|
|
(tree-sitter.withPlugins (grammars: with grammars; [
|
|
tree-sitter-bash
|
|
tree-sitter-nix
|
|
tree-sitter-toml
|
|
tree-sitter-elisp
|
|
tree-sitter-rust
|
|
tree-sitter-cpp
|
|
tree-sitter-c
|
|
tree-sitter-zig
|
|
tree-sitter-elisp
|
|
tree-sitter-markdown
|
|
]))
|
|
];
|
|
# xdg.configFile = {
|
|
# "emacs" = {
|
|
# source = emacs-config;
|
|
# };
|
|
# };
|
|
}
|