From 49057747af604e9b848660329c21527484542fc7 Mon Sep 17 00:00:00 2001 From: NAHO <90870942+trueNAHO@users.noreply.github.com> Date: Fri, 3 Nov 2023 21:18:13 +0100 Subject: [PATCH] style(flake): simplify attribute set expression --- flake.nix | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/flake.nix b/flake.nix index 29764d0..7d61cde 100644 --- a/flake.nix +++ b/flake.nix @@ -27,18 +27,16 @@ system: let pkgs = nixpkgs.legacyPackages.${system}; in { - checks = { - preCommitHooks = preCommitHooks.lib.${system}.run { - hooks = { - alejandra.enable = true; - convco.enable = true; - typos.enable = true; - yamllint.enable = true; - }; - - settings.alejandra.verbosity = "quiet"; - src = ./.; + checks.preCommitHooks = preCommitHooks.lib.${system}.run { + hooks = { + alejandra.enable = true; + convco.enable = true; + typos.enable = true; + yamllint.enable = true; }; + + settings.alejandra.verbosity = "quiet"; + src = ./.; }; devShells.default = pkgs.mkShell {