summaryrefslogtreecommitdiff
path: root/modules/devtools.nix
blob: a21df41e008046ae80ae1c9e8cd6007b34e00c62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ pkgs, inputs, ... }: {

  nixpkgs.overlays = [
    inputs.fenix.overlay
    inputs.emacs-overlay.overlay
  ];
  environment.systemPackages = with pkgs; [
    # rust
    (inputs.fenix.packages."x86_64-linux".stable.withComponents [
      "cargo"
      "clippy"
      "rust-src"
      "rustc"
      "rustfmt"
    ])
    rust-analyzer-nightly
    # nix
    rnix-lsp
  ];
}