mirror of
https://git.madhouse-project.org/algernon/iocaine.git
synced 2025-02-24 10:28:48 +01:00
28 lines
588 B
Nix
28 lines
588 B
Nix
# SPDX-FileCopyrightText: 2025 Gergely Nagy
|
|
# SPDX-FileContributor: Gergely Nagy
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
_:
|
|
|
|
{
|
|
config = {
|
|
projectRootFile = "./Cargo.toml";
|
|
programs = {
|
|
nixfmt.enable = true; # nix
|
|
statix.enable = true; # nix static analysis
|
|
deadnix.enable = true; # find dead nix code
|
|
rustfmt.enable = true; # rust
|
|
taplo.enable = true; # toml
|
|
};
|
|
settings.formatter = {
|
|
taplo.options = [
|
|
"format"
|
|
"--option"
|
|
"indent_tables=true"
|
|
"--option"
|
|
"indent_entries=true"
|
|
];
|
|
};
|
|
};
|
|
}
|