fix: neovim

This commit is contained in:
DACHXY 2025-01-02 22:17:54 +08:00
parent 08451237fe
commit e63917ca85
11 changed files with 104 additions and 89 deletions

View file

@ -1,5 +1,4 @@
{ pkgs, inputs, system, ... }:
{
environment.systemPackages = (with pkgs; [
# gtk theme
@ -59,7 +58,7 @@
lua51Packages.lua
lua51Packages.luarocks
luajitPackages.magick
vimPlugins.neomake
imagemagick
# Shell
fishPlugins.done

View file

@ -1,19 +0,0 @@
[toolchain]
channel = "nightly"
components = [
"rust-src",
"rust-analyzer",
"rustc-codegen-cranelift",
"miri",
"llvm-tools",
"rust-docs-json",
]
targets = [
"wasm32-unknown-unknown",
"wasm32-wasi",
"x86_64-pc-windows-gnu",
"x86_64-unknown-linux-gnu",
"aarch64-unknown-linux-gnu",
"x86_64-unknown-linux-musl",
]
profile = "default"

View file

@ -1,30 +0,0 @@
{ inputs, pkgs, ... }:
{
# Apply the overlay to the package set
# nixpkgs.overlays = [
# inputs.rust-overlay.overlays.default
# ];
environment.systemPackages = with pkgs; [
# (rust-bin.fromRustupToolchainFile ./rust-toolchain.toml)
taplo #toml formatter & lsp
cargo-watch
cargo-deny
cargo-audit
cargo-update
cargo-edit
cargo-outdated
cargo-license
cargo-tarpaulin
cargo-cross
cargo-zigbuild
cargo-nextest
cargo-spellcheck
cargo-modules
cargo-bloat
cargo-unused-features
bacon
evcxr #rust repl
];
}