From 74182c199a6f95d706ba8cd9d328b41c1b4419a6 Mon Sep 17 00:00:00 2001 From: Julian Stecklina Date: Sun, 8 Jan 2023 14:41:01 +0100 Subject: [PATCH] flake: enforce nix style via nixpkgs-fmt --- flake.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flake.nix b/flake.nix index 87e922a..5640331 100644 --- a/flake.nix +++ b/flake.nix @@ -157,6 +157,10 @@ pre-commit = { check.enable = true; + + settings.hooks = { + nixpkgs-fmt.enable = true; + }; }; devShells.default = pkgs.mkShell {