mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
Add flake checks
This commit is contained in:
parent
2938191083
commit
584cd2101a
5 changed files with 40 additions and 9 deletions
9
flake/treefmt.nix
Normal file
9
flake/treefmt.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ inputs, pkgs, ... }:
|
||||
(inputs.treefmt-nix.lib.evalModule pkgs {
|
||||
projectRootFile = "flake.nix";
|
||||
programs = {
|
||||
nixfmt.enable = true;
|
||||
prettier.enable = true;
|
||||
just.enable = true;
|
||||
};
|
||||
}).config.build
|
||||
Loading…
Add table
Add a link
Reference in a new issue