Research-Stack/4-Infrastructure/k3s-flake/roles/edge.nix
Brandon Schneider ac4e23dc9b Expand devcontainer with full Python stack, add MCP servers (Notion/AWS), strengthen Lean theorems
- .devcontainer/Dockerfile: add PostgreSQL client libs, OpenSSL/libffi headers, gfortran/BLAS for scipy, rclone; install full Python dependency set (boto3, psycopg2-binary, fastapi, uvicorn, notion-client, httpx, pytest, numpy, scipy, etc.) in uv-managed venv; add rclone S3 gateway init script as ENTRYPOINT
- .devcontainer/devcontainer.json: switch from build to pre-built image (localhost/research
2026-05-19 01:52:14 -05:00

11 lines
271 B
Nix

{ config, pkgs, lib, hostName, serverAddr, domain, ... }:
{
services.k3s = {
enable = true;
role = "agent";
serverAddr = serverAddr;
nodeLabels = { "topology.researchstack.io/role" = "edge"; };
nodeTaints = [ "pulse-only=true:NoSchedule" ];
};
}