fix(dotfiles): exclude third_party from fix app
This commit is contained in:
@@ -20,8 +20,8 @@ in
|
|||||||
];
|
];
|
||||||
text = ''
|
text = ''
|
||||||
treefmt
|
treefmt
|
||||||
statix fix .
|
statix fix --ignore 'third_party/**' .
|
||||||
deadnix --edit --exclude configs/nixos/hosts/*/hardware-configuration.nix -- .
|
deadnix --edit --exclude third_party configs/nixos/hosts/*/hardware-configuration.nix -- .
|
||||||
treefmt
|
treefmt
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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"
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user