fix(dotfiles): centralize fix app ignores #61

Closed
alexion wants to merge 1 commits from refs/pull/61/head into main
pull from: refs/pull/61/head
2 changed files with 4 additions and 5 deletions

No files matched your search

-5
View File
@@ -15,14 +15,9 @@ in
name = "fix";
runtimeInputs = [
formatter
pkgs.statix
pkgs.deadnix
];
text = ''
treefmt
statix fix .
deadnix --edit --exclude configs/nixos/hosts/*/hardware-configuration.nix -- .
treefmt
'';
}
);
+4
View File
@@ -4,6 +4,10 @@ inputs.treefmt-nix.lib.evalModule inputs.nixpkgs.legacyPackages.${system} {
programs.nixfmt.enable = true;
settings.excludes = [
"third_party/**"
];
settings.formatter.nixfmt.excludes = [
"configs/nixos/hosts/*/hardware-configuration.nix"
];