mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 16:21:34 +01:00
Remove formatting check from flake check
This commit is contained in:
parent
ce141b315c
commit
f05e8522b2
3 changed files with 10 additions and 13 deletions
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue