Files
obx-pkgs/tools/treefmt.nix
T
2026-05-31 21:25:54 +02:00

23 lines
435 B
Nix

{ pkgs, sources, ... }:
let
treefmt-nix = import sources.treefmt-nix;
in
treefmt-nix.mkWrapper pkgs {
projectRootFile = ".git/config";
programs = {
nixfmt.enable = true;
deadnix.enable = true;
statix = {
enable = true;
disabled-lints = [
"manual_inherit_from"
"repeated_keys"
];
};
shellcheck.enable = true;
};
settings.global.excludes = [
"npins/default.nix"
];
}