{ pkgs, ... }: { pre-commit.hooks = { nixpkgs-fmt.enable = true; }; packages = with pkgs; [ nixpkgs-fmt nixfmt ]; }