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
Showing only changes of commit 2513b36705 - Show all commits

No files matched your search

-5
View File
@@ -15,14 +15,9 @@ in
name = "fix"; name = "fix";
runtimeInputs = [ runtimeInputs = [
formatter formatter
pkgs.statix
pkgs.deadnix
]; ];
text = '' text = ''
treefmt 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; programs.nixfmt.enable = true;
settings.excludes = [
"third_party/**"
];
settings.formatter.nixfmt.excludes = [ settings.formatter.nixfmt.excludes = [
"configs/nixos/hosts/*/hardware-configuration.nix" "configs/nixos/hosts/*/hardware-configuration.nix"
]; ];