mirror of
https://forge.katzen.cafe/katzen-cafe/iowo.git
synced 2025-09-24 23:41:30 +02:00
formatting things and pre commit hooks
This commit is contained in:
parent
daa551caa3
commit
b07eb248f1
4 changed files with 17 additions and 10 deletions
20
flake.nix
20
flake.nix
|
@ -25,13 +25,19 @@
|
|||
default = devenv.lib.mkShell {
|
||||
inherit inputs pkgs;
|
||||
modules = [
|
||||
({pkgs, config, ...}: {
|
||||
languages.rust = {
|
||||
enable = true;
|
||||
channel = "nightly";
|
||||
};
|
||||
packages = [];
|
||||
})
|
||||
({pkgs, config, ...}: {
|
||||
languages.rust = {
|
||||
enable = true;
|
||||
channel = "nightly";
|
||||
};
|
||||
|
||||
pre-commit.hooks = {
|
||||
clippy.enable = true;
|
||||
rustfmt.enable = true;
|
||||
};
|
||||
|
||||
packages = [];
|
||||
})
|
||||
];
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue