fix(dotfiles): stop fixing with statix and deadnix
This commit is contained in:
@@ -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,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