feat: prepare for treefmt-nix
This commit is contained in:
parent
7c9b745a3e
commit
80250b0179
4 changed files with 28 additions and 2 deletions
|
@ -125,6 +125,10 @@
|
|||
url = "github:nix-community/nixvim/nixos-24.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
treefmt-nix = {
|
||||
url = "github:numtide/treefmt-nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = inputs @ {
|
||||
|
@ -325,7 +329,7 @@
|
|||
'';
|
||||
};
|
||||
|
||||
formatter = pkgs.alejandra;
|
||||
formatter = inputs.treefmt-nix.formatter.${system};
|
||||
|
||||
devShells = let
|
||||
all = import ./nix/devShells.nix {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue