From 54c04d379643e92dadeccda6f2423937d5e2b1ee Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 23 Dec 2024 18:39:15 +0100 Subject: build(flake): Use treefmt as nix formatter This allows us to also keep markdown and other documents, that aren't nix, formatted. --- flake.lock | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'flake.lock') diff --git a/flake.lock b/flake.lock index c85da85..662b7ff 100644 --- a/flake.lock +++ b/flake.lock @@ -279,7 +279,8 @@ "ragenix": "ragenix", "rust-overlay": "rust-overlay", "simple-nixos-mailserver": "simple-nixos-mailserver", - "systems": "systems" + "systems": "systems", + "treefmt-nix": "treefmt-nix" } }, "rust-overlay": { @@ -342,6 +343,26 @@ "repo": "x86_64-linux", "type": "github" } + }, + "treefmt-nix": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1734704479, + "narHash": "sha256-MMi74+WckoyEWBRcg/oaGRvXC9BVVxDZNRMpL+72wBI=", + "owner": "numtide", + "repo": "treefmt-nix", + "rev": "65712f5af67234dad91a5a4baee986a8b62dbf8f", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "treefmt-nix", + "type": "github" + } } }, "root": "root", -- cgit 1.4.1