blob: e3ffe48395ddef78d52e44631828a59799a8e359 (
plain)
{ pkgs, config, ... }:
let
feluments = config.languages.rust.import ./. { };
in
{
delta.enable = true;
languages.rust = {
enable = true;
components = [ "rustc" "rust-analyzer" "cargo" "rustfmt" "clippy" ];
};
packages = with pkgs; [
git
bacon
cargo-seek
cargo-nextest
];
enterShell = ''
cargo update
'';
git-hooks.hooks = {
rustfmt.enable = true;
clippy.enable = true;
};
outputs = {
inherit feluments;
};
}
|