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