basic stuff + partial transpile
This commit is contained in:
+30
@@ -0,0 +1,30 @@
|
||||
{
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
packages = with pkgs; [ git ];
|
||||
|
||||
languages.rust = {
|
||||
enable = true;
|
||||
lsp.enable = true;
|
||||
components = [
|
||||
"rustc"
|
||||
"cargo"
|
||||
"clippy"
|
||||
"rustfmt"
|
||||
"rust-analyzer"
|
||||
];
|
||||
};
|
||||
|
||||
git-hooks.hooks = {
|
||||
shellcheck.enable = true;
|
||||
prettier.enable = true;
|
||||
rustfmt.enable = true;
|
||||
nixfmt.enable = true;
|
||||
clippy.enable = true;
|
||||
};
|
||||
|
||||
# See full reference at https://devenv.sh/reference/options/
|
||||
}
|
||||
Reference in New Issue
Block a user