From 7b6bcfeb1cd5333162e060b709393051b98450c7 Mon Sep 17 00:00:00 2001 From: m3tm3re
Date: Sun, 26 Apr 2026 13:25:12 +0200 Subject: [PATCH] fix: force overwrite for pi mcp.json and settings.json --- modules/home-manager/coding/agents/pi.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/home-manager/coding/agents/pi.nix b/modules/home-manager/coding/agents/pi.nix index b43dfd0..c2c8176 100644 --- a/modules/home-manager/coding/agents/pi.nix +++ b/modules/home-manager/coding/agents/pi.nix @@ -258,11 +258,13 @@ in # ── MCP servers from programs.mcp → ~/.pi/agent/mcp.json ─────── (mkIf (cfg.mcpServers != {}) { ".pi/agent/mcp.json".text = builtins.toJSON {mcpServers = cfg.mcpServers;}; + ".pi/agent/mcp.json".force = true; }) # ── ~/.pi/agent/settings.json ────────────────────────────────── { ".pi/agent/settings.json".text = builtins.toJSON piSettings; + ".pi/agent/settings.json".force = true; } # ── AGENTS.md — agent descriptions and specialist listing ──────