diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-23 18:39:15 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-23 18:39:15 +0100 |
commit | 54c04d379643e92dadeccda6f2423937d5e2b1ee (patch) | |
tree | 0605ddaace69334d347161ae7a187fda571da343 /flake.lock | |
parent | feat(pkgs): Hook up to the flake and add needed infrastructure (diff) | |
download | nixos-server-54c04d379643e92dadeccda6f2423937d5e2b1ee.tar.gz nixos-server-54c04d379643e92dadeccda6f2423937d5e2b1ee.zip |
build(flake): Use treefmt as nix formatter
This allows us to also keep markdown and other documents, that aren't nix, formatted.
Diffstat (limited to '')
-rw-r--r-- | flake.lock | 23 |
1 files changed, 22 insertions, 1 deletions
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", |