From eba8c06c9d479df6ec4519f75f949e2aec266708 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Tue, 26 Aug 2025 14:49:59 +0200 Subject: [PATCH] chore: Configure nixfmt (cherry picked from commit 3ed92195dfcd4c3a86f1d77c464967531851f85c) --- dev/flake-module.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/flake-module.nix b/dev/flake-module.nix index ca5df3a..ab72d06 100644 --- a/dev/flake-module.nix +++ b/dev/flake-module.nix @@ -5,7 +5,7 @@ ]; perSystem = { config, pkgs, ... }: { - pre-commit.settings.hooks.nixpkgs-fmt.enable = true; + pre-commit.settings.hooks.nixfmt-rfc-style.enable = true; # Temporarily disable rustfmt due to configuration issues # pre-commit.settings.hooks.rustfmt.enable = true; pre-commit.settings.settings.rust.cargoManifestPath = "./rust/Cargo.toml"; @@ -52,7 +52,7 @@ ]; nativeBuildInputs = [ pkgs.rust-analyzer - pkgs.nixpkgs-fmt + pkgs.nixfmt-rfc-style pkgs.rustfmt pkgs.pkg-config pkgs.clang-tools # clangd