nix-config/modules/devtools.nix

27 lines
443 B
Nix
Raw Normal View History

2022-10-03 13:16:02 +02:00
{ pkgs, inputs, ... }: {
nixpkgs.overlays = [
inputs.fenix.overlay
inputs.emacs-overlay.overlay
];
environment.systemPackages = with pkgs; [
# general
cmake
gcc
binutils
clang
clang-tools
2022-10-03 13:16:02 +02:00
# rust
(inputs.fenix.packages."x86_64-linux".stable.withComponents [
"cargo"
"clippy"
"rust-src"
"rustc"
"rustfmt"
])
rust-analyzer-nightly
# nix
rnix-lsp
];
}