a dotfile but it's really big
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

opencode: alejandra formatter

karitham 8c5a0bbf 92b0f685

+7 -1
+7 -1
modules/home/dev/opencode.nix
··· 2 2 programs.opencode = let 3 3 opencodePkg = pkgs.symlinkJoin { 4 4 name = "opencode-wrapped"; 5 - paths = [pkgs.opencode pkgs.nixd]; 5 + paths = [pkgs.opencode pkgs.nixd pkgs.alejandra]; 6 6 buildInputs = [pkgs.makeWrapper]; 7 7 postBuild = '' 8 8 wrapProgram $out/bin/opencode \ ··· 15 15 enableMcpIntegration = true; 16 16 settings = { 17 17 theme = "catppuccin-macchiato"; 18 + formatter = { 19 + alejandra = { 20 + command = ["alejandra"]; 21 + extensions = [".nix"]; 22 + }; 23 + }; 18 24 agent = { 19 25 stack-analyst = { 20 26 description = "Analyzes stack traces to map errors to code paths and identify root causes";