mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-22 02:31:33 +01:00
Add flake checks
This commit is contained in:
parent
2938191083
commit
584cd2101a
5 changed files with 40 additions and 9 deletions
|
|
@ -3,14 +3,6 @@
|
|||
perSystem =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
formatter =
|
||||
(inputs.treefmt-nix.lib.evalModule pkgs {
|
||||
projectRootFile = "flake.nix";
|
||||
programs = {
|
||||
nixfmt.enable = true;
|
||||
prettier.enable = true;
|
||||
just.enable = true;
|
||||
};
|
||||
}).config.build.wrapper;
|
||||
formatter = (import ./treefmt.nix { inherit inputs pkgs; }).wrapper;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue