diff --git a/common/home.nix b/common/home.nix index 0f4d1fd..f336881 100644 --- a/common/home.nix +++ b/common/home.nix @@ -116,7 +116,10 @@ { name = "java"; auto-format = true; - formatter.command = "${pkgs.google-java-format}/bin/google-java-format"; + formatter = { + command = "${pkgs.google-java-format}/bin/google-java-format"; + args = [ "-" ]; + }; } { name = "rust";