Commit Graph

52 Commits

Author SHA1 Message Date
2c5dc3d58d feat: comprehensive NixOS deployment infrastructure
- docs/nix-container-install.md: 474-line guide covering Determinate Systems
  installer, vanilla Nix, NixOS base image, architecture notes (x86_64 vs aarch64),
  cross-compilation, container considerations, troubleshooting
- scripts/deploy.sh: 286-line deployment script with pre-flight checks, git sync,
  build validation (nix build --no-link), 5 actions (switch/boot/test/build/
  dry-activate), color-coded logging, env-based configurability
- scripts/deploy-ssh-config: SSH config for all 3 hosts with dual users for
  lazyworkhorse, reverse tunnel for cyt-pi, uConsole placeholder, Gitea entry

Full replacements of stub files from previous commit.
2026-05-20 14:29:38 -04:00
8b004c47b9 feat: add NixOS deployment infrastructure
- Nix installation guide for container (docs/nix-container-install.md)
- Deployment helper script (scripts/deploy.sh)
- SSH configuration template (scripts/deploy-ssh-config)
- Deployment skill for Hermes (skills/nixos-deploy/)

Enables remote NixOS deployment from Hermes container to target hosts
via SSH with nixos-rebuild --target-host.

Usage:
  ./scripts/deploy.sh <hostname> [branch] [action]

Supported hosts:
  - lazyworkhorse (x86_64)
  - cyt-pi (aarch64)
  - uConsole (aarch64) - config pending
2026-04-30 00:06:12 +00:00
7efba3ac5b Compose update 2026-04-27 06:11:34 -04:00
Robert
cf1373cd68 Forced restart for docker services 2026-04-27 06:02:25 -04:00
Robert
bc875ef9fb feat: isolate docker networks and add cyt-pi remote node config
- Refactor all 12 compose stacks to use isolated networks with Traefik as the hub
- Add openclaw-ssh sidecar to ai stack for reverse tunneling (port 2425)
- Add sshnode entrypoint to Traefik configuration
- Add cyt-pi host configuration for Pi Zero 2 W (headless)
- Include kismet and target_detector_cli services for remote Wi-Fi monitoring
- Add reverse SSH tunnel service via autossh
2026-04-06 19:14:57 -04:00
Robert
c579b07843 fix: read gateway token from secret file via bash 2026-04-04 17:49:39 -04:00
Robert
d3f50cdadc fix: always restart node service on exit 2026-04-04 17:43:03 -04:00
Robert
8aa85e62e5 feat: add openclaw CLI to system packages 2026-04-04 17:23:15 -04:00
Robert
b9cf8a47f7 fix: set openclaw secret group to ai-worker 2026-04-04 17:15:24 -04:00
Robert
2e749228bb fix: set correct working directory and create home for ai-worker 2026-04-04 17:07:13 -04:00
Robert
ce20fad4d3 fix: enable flake-self-attrs for lix compatibility 2026-04-04 16:54:10 -04:00
Robert
401b23ce46 feat: add openclaw node service and migrate to lix
- Add headless openclaw node systemd service for host execution
- Migrate from nix to lix package manager
- Permit openclaw-2026.3.12 (insecure package warning)
- Use ai-worker user for node service
2026-04-04 16:26:33 -04:00
13dbf18f67 Progress dump before ai agent 2026-04-04 04:57:47 -04:00
58f7dd65f1 feat(05-01): OpenTAKServer selected for TAK server implementation
- Comprehensive research of TAK-compatible open-source implementations
- Comparison of FreeTAKServer, OpenTAKServer, and TAK Product Center Server
- Selected OpenTAKServer for feature richness and Docker deployment support
- Documented research findings and implementation plan
2026-01-01 18:25:30 -05:00
a4390fabcc Remove Phase 5 (TAK Server Integration) from roadmap 2026-01-01 16:03:49 -05:00
bb40ded253 feat(04-02): Web search capabilities through MCP servers tested and integrated 2026-01-01 14:38:30 -05:00
0845262c05 style: format Nix files after modifications 2026-01-01 14:32:17 -05:00
b59f8952ac feat(4-2): Test and document web search capabilities through MCP servers
- Started OpenCode service and verified it's running
- Tested Context7 web search functionality
- Tested DuckDuckGo web search functionality
- Documented web search integration in open_code_server.nix
- Updated ROADMAP and STATE with completion status
- Phase 4 complete, ready for Phase 5: TAK Server Integration
2026-01-01 14:30:42 -05:00
515fe8a830 chore: update roadmap with Phase 4.1 for commit organization 2026-01-01 02:25:46 -05:00
056c39aa71 chore: update flake imports and infrastructure secrets 2026-01-01 02:25:40 -05:00
71dfd04108 chore: add n8n-worker user and update authentication configuration 2026-01-01 02:25:34 -05:00
d92e1426ba chore: update service modules and remove deprecated systemd services 2026-01-01 02:25:25 -05:00
9531bff929 chore: enhance system configuration with hardware sensors, GPU support, and security 2026-01-01 02:25:11 -05:00
0b4e9e092d chore: add docker stack integration with improved service management 2026-01-01 02:25:05 -05:00
46ac5a72d0 docs: finalize roadmap - removed phase 4, focus on MCP and TAK
Phases 1-3 complete.

Phase 4 removed per request.

New focus:
4. Internet Access & MCP - web access via MCP server
5. TAK Server Integration - TAK server Docker integration
2026-01-01 02:07:22 -05:00
b77de4e384 docs: update roadmap - completed phases 1-3, added phases 4-6
Phases 1-3 complete - foundation, Docker integration, and AI assistant ready.

New phases:
4. Advanced Monitoring - service health and logging
5. Internet Access & MCP - web access via MCP server
6. TAK Server Integration - add TAK server to infrastructure

Dropped 04-01 (auto Docker Compose detection) per user request.
2026-01-01 02:03:55 -05:00
85fd05c6cf docs: initialize NixOS Infrastructure with AI Assistant (4 phases)
Reproducible NixOS infrastructure with Docker service management and AI assistant integration.

Phases:
1. Foundation Setup: Core NixOS configuration with flakes
2. Docker Service Integration: Docker Compose integration and Traefik proxy
3. AI Assistant Integration: OpenCode AI assistant for infrastructure management
4. Automation & Monitoring: Service detection and health monitoring
2026-01-01 01:47:43 -05:00
b54760f62b docs: initialize NixOS infrastructure with AI assistant
Creates PROJECT.md with vision and requirements.
Creates config.json with interactive workflow mode.
2026-01-01 01:36:58 -05:00
1210a44ecc Commented graphic drivers. longer janitor time. 2025-12-27 17:17:16 -05:00
e2b040e5f0 Simpler path copy for compose files 2025-12-27 17:14:22 -05:00
f5b3a04378 Added amd driver, rocm 2025-08-31 20:23:43 -04:00
a4c5a10c4f Forgot these.. 2025-08-31 16:52:04 -04:00
b8a8e1bdce Still trying to fix secret keys... 2025-08-31 16:50:26 -04:00
40a48eb605 Rekey the secret 2025-08-31 16:30:07 -04:00
266f563c2f Fixed host ssh key 2025-08-31 16:19:39 -04:00
a49c4f40e5 Merge branch 'master' of ssh://code.lazyworkhorse.net:2222/gortium/infra 2025-08-24 19:33:44 -04:00
a8851c19e4 Working bootstrap key 2025-08-24 19:02:42 -04:00
3497d93dcb Added a bootstrap key 2025-08-19 18:00:09 -04:00
955c3255a0 WIP on host ssh key. broken. 2025-08-17 17:26:59 -04:00
6b367a7c95 WIP on fan control 2025-08-15 21:15:59 -04:00
02155976ab Enable ssd health and zfs snapshot 2025-08-15 21:11:22 -04:00
4c7f22b903 Fixed typo 2025-08-09 00:05:47 +00:00
f0f7c2613e Openned the gitea container port 2025-08-08 20:00:15 -04:00
b92ca00054 nixos rolback FTW 2025-08-08 19:46:29 -04:00
2315d56db0 Small change to gitea compose 2025-08-08 19:23:44 -04:00
98c0142938 Fixed the git submodule for flake 2025-08-08 19:11:29 -04:00
4b3eef4150 Minor changes 2025-08-08 18:18:47 -04:00
857f0daa95 Starting work on fan control with opencode 2025-08-08 18:18:21 -04:00
911f3589a2 Used agenix to manage secrets, 4 services up, ssh 2025-08-08 17:00:47 -04:00
ac6c3688ef Some more work toward a modular config 2025-08-04 22:15:59 -04:00