Move lsp servers & rustfmt to emacs.nix

This commit is contained in:
Henrik Lissner 2020-01-14 00:24:44 -05:00
parent 1bed3ae799
commit 042f6a6d5e
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 24 additions and 11 deletions

View file

@ -15,6 +15,5 @@
gdb gdb
cmake cmake
llvmPackages.libcxx llvmPackages.libcxx
ccls
]; ];
} }

View file

@ -10,7 +10,6 @@
my = { my = {
packages = with pkgs; [ packages = with pkgs; [
nodejs nodejs
nodePackages.javascript-typescript-langserver
]; ];
env.NPM_CONFIG_USERCONFIG = "$XDG_CONFIG_HOME/npm/config"; env.NPM_CONFIG_USERCONFIG = "$XDG_CONFIG_HOME/npm/config";

View file

@ -12,8 +12,6 @@
my = { my = {
packages = with pkgs; [ packages = with pkgs; [
rustup rustup
rustfmt
rls
]; ];
env.RUSTUP_HOME = "$XDG_DATA_HOME/rustup"; env.RUSTUP_HOME = "$XDG_DATA_HOME/rustup";

View file

@ -6,22 +6,39 @@
{ {
my = { my = {
packages = with pkgs; [ packages = with pkgs; [
# Doom dependencies ## Doom dependencies
emacs emacs
git git
(ripgrep.override {withPCRE2 = true;}) (ripgrep.override {withPCRE2 = true;})
# Optional dependencies
## Optional dependencies
editorconfig-core-c # per-project style config editorconfig-core-c # per-project style config
fd # faster projectile indexing fd # faster projectile indexing
imagemagick # for image-dired
gnutls # for TLS connectivity gnutls # for TLS connectivity
imagemagick # for image-dired
(lib.mkIf (config.programs.gnupg.agent.enable) (lib.mkIf (config.programs.gnupg.agent.enable)
pinentry_emacs) # in-emacs gnupg prompts pinentry_emacs) # in-emacs gnupg prompts
zstd # for undo-tree compression zstd # for undo-tree compression
ffmpeg # for screen recording emacs
# Module dependencies ## Module dependencies
sqlite # :tools (lookup +docsets) # :checkers spell
texlive.combined.scheme-medium # :lang org -- for latex previews aspell
aspellDicts.en
aspellDicts.en-computers
aspellDicts.en-science
# :checkers grammar
languagetool
# :tools lookup
sqlite
# :lang cc
ccls
# :lang javascript
nodePackages.javascript-typescript-langserver
# :lang latex & :lang org (latex previews)
texlive.combined.scheme-medium
# :lang rust
rustfmt
rls
]; ];
env.PATH = [ "$HOME/.emacs.d/bin" ]; env.PATH = [ "$HOME/.emacs.d/bin" ];