vault-hier/nix/checks/toml-fmt.nix
Harald Hoyer ce41414f4f refactor: modularize checks into separate Nix files
- Extracted checks (clippy, doc, fmt, and toml-fmt) into modularized Nix files under `nix/checks`.
- Updated `flake.nix` to import checks from the new modularized structure.
- Improved clarity and maintainability by separating concerns for each check.
2025-03-24 11:47:20 +01:00

12 lines
221 B
Nix

{
craneLib,
src,
lib,
}:
craneLib.taploFmt {
src = lib.sources.sourceFilesBySuffices src [ ".toml" ];
# taplo arguments can be further customized below as needed
# taploExtraArgs = "--config ./taplo.toml";
}