diff --git a/modules/home/cli-apps/opencode/default.nix b/modules/home/cli-apps/opencode/default.nix index 7f1f11b..6f463e7 100644 --- a/modules/home/cli-apps/opencode/default.nix +++ b/modules/home/cli-apps/opencode/default.nix @@ -107,6 +107,16 @@ in }; config = mkIf cfg.enable { + # Also expose the formatters on PATH for interactive use. + home.packages = [ + pkgs.nixfmt-rfc-style + pkgs.nodePackages.prettier + pkgs.shfmt + pkgs.ruff + pkgs.taplo + pkgs.stylua + ]; + # The agents/, commands/ and other files come from the repo dir; config.json # is generated from opencodeConfig above so formatter paths stay pinned. xdg.configFile."opencode" = {