From 34b2a01f1ae200c08fd211c4a2500793af3324ea Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Sat, 28 Mar 2026 16:12:51 -0700 Subject: [PATCH] Use /srv/mcp/mcp-agent binary instead of Nix flake input The agent binary is now managed by the operator (scp + install to /srv/mcp/mcp-agent), not by the Nix flake. This allows agent upgrades without a full NixOS rebuild. Co-Authored-By: Claude Opus 4.6 (1M context) --- configs/mcp.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/mcp.nix b/configs/mcp.nix index ceb0cad..e02574b 100644 --- a/configs/mcp.nix +++ b/configs/mcp.nix @@ -2,7 +2,7 @@ # # Creates a dedicated 'mcp' system user with rootless podman support # and a systemd service for the agent daemon. -{ pkgs, inputs, ... }: +{ pkgs, ... }: let mcpUid = 995; @@ -29,7 +29,7 @@ in serviceConfig = { Type = "simple"; - ExecStart = "${inputs.mcp.packages.x86_64-linux.mcp-agent}/bin/mcp-agent server --config /srv/mcp/mcp-agent.toml"; + ExecStart = "/srv/mcp/mcp-agent server --config /srv/mcp/mcp-agent.toml"; Restart = "on-failure"; RestartSec = 5;