couple fixes

This commit is contained in:
mjallen18
2026-03-17 19:16:29 -05:00
parent a925fccda1
commit 297f23fac8
3 changed files with 6 additions and 7 deletions

View File

@@ -64,7 +64,6 @@
};
templates."hass-mcp.env" = {
path = "/home/admin/.config/sops/hass-mcp.env";
mode = "0600";
content = ''
HA_URL=http://nuc-nixos.local:8123
@@ -173,12 +172,10 @@
];
};
hass-mcp = {
# Token is read at runtime from a sops-rendered env file.
# The wrapper script sources ~/.config/sops/hass-mcp.env before launching uvx.
command = "bash";
args = [
"-c"
"set -a; source ${"\${HOME}"}/.config/sops/hass-mcp.env; set +a; exec uvx hass-mcp"
"set -a; source ${config.sops.templates."hass-mcp.env".path}; set +a; exec uvx hass-mcp"
];
};
mcp-server-code-runner = {