dotfiles/flake-modules/distant-shore.nix
DannyDannyDanny cc8cc05a08 phantom-ship/shipyard: add media-processing tools for feedback
Feedback now accepts photos, voice notes, video, documents etc. Phase
A captures + stores raw files (Pillow for EXIF strip); Phase B derives
OCR text, speech transcripts, poster frames, PDF text — all via
subprocess so each tool degrades gracefully if absent. Wire the
following into the shipyard service:

  - python3Packages.pillow → EXIF strip on captured photos
  - ffmpeg                 → poster frames + audio→16kHz WAV for whisper
  - tesseract (eng + rus)  → OCR (vyscul writes in Russian)
  - whisper-cpp            → speech-to-text for voice / audio / video
  - poppler_utils          → pdftotext for document attachments

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-07 13:16:57 +02:00

14 lines
551 B
Nix

# Standalone nixosSystem registration for distant-shore.
# Temporary: clan integration (zerotier/data-mesher/dm-pull-deploy) needs
# vars generated via sops on the admin machine. Until that runs, this
# keeps the box buildable without clan deps. Delete this file when
# distant-shore moves into flake-modules/clan.nix.
{ inputs, ... }: {
flake.nixosConfigurations.distant-shore = inputs.nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
inputs.disko.nixosModules.disko
../nixos/hosts/distant-shore.nix
];
};
}