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