diff --git a/nixos/hosts/phantom-ship.nix b/nixos/hosts/phantom-ship.nix index d78345f..6c81646 100644 --- a/nixos/hosts/phantom-ship.nix +++ b/nixos/hosts/phantom-ship.nix @@ -178,7 +178,6 @@ in "d /home/danny/.local/share/komtolk 0755 danny users - -" "d /home/danny/.local/share/escape_hormuz 0755 danny users - -" "d /home/danny/.local/share/scuttle/tiles 0755 danny users - -" - "d /home/danny/.local/share/escape_hormuz 0755 danny users - -" ]; # Hara Gmail MCP server (path 1: IMAP+SMTP). Replaced by an OAuth2 @@ -421,35 +420,6 @@ in }; }; - # Escape Hormuz — turn-based boat racing Mini App through the Strait of Hormuz. - # Code rsync'd from ~/python-projects/28_escape_hormuz/ to /home/danny/escape_hormuz/ - # DB at ~/.local/share/escape_hormuz/escape_hormuz.db. - systemd.services.escape-hormuz = let - pythonEnv = pkgs.python3.withPackages (ps: with ps; [ - fastapi - uvicorn - python-telegram-bot - ]); - in { - description = "Escape Hormuz FastAPI server (turn-based boat race)"; - after = [ "network-online.target" ]; - wants = [ "network-online.target" ]; - wantedBy = [ "multi-user.target" ]; - path = [ pythonEnv ]; - environment = { - SHIPYARD_BOT_TOKEN_FILE = "/home/danny/.secrets/telegram-bot-token-shipyard"; - DB_PATH = "/home/danny/.local/share/escape_hormuz/escape_hormuz.db"; - MINIAPP_URL = "https://escapehormuz.dannydannydanny.me"; - }; - serviceConfig = { - WorkingDirectory = "/home/danny/escape_hormuz"; - ExecStart = "${pythonEnv}/bin/python -m uvicorn server:app --host :: --port 8090"; - Restart = "on-failure"; - RestartSec = 10; - User = "danny"; - }; - }; - # Hara morning heartbeat — daily email check + Telegram good-morning ping. # Runs claude in print mode with the Gmail MCP, then sends output via Bot API. # Token lives in ~/.claude/channels/telegram/.env (managed by the telegram plugin).