Remove formatting check from flake check

This commit is contained in:
SebastianStork 2025-02-24 19:56:19 +01:00
parent ce141b315c
commit f05e8522b2
3 changed files with 10 additions and 13 deletions

View file

@ -3,6 +3,15 @@
perSystem =
{ pkgs, ... }:
{
formatter = (import ./treefmt.nix { inherit inputs pkgs; }).wrapper;
formatter =
(inputs.treefmt-nix.lib.evalModule pkgs {
projectRootFile = "flake.nix";
programs = {
nixfmt.enable = true;
prettier.enable = true;
just.enable = true;
};
settings.formatter.nixfmt.excludes = [ "modules/home/shell/aliases.nix" ];
}).config.build.wrapper;
};
}