{ buildGoModule, lib }: buildGoModule { pname = "gebos-ingester"; version = "0.0.0"; src = ./.; # Set once `go mod tidy` has produced a real go.sum. vendorHash = null; # The main package lives in cmd/gebos-ingester/, so `go install` names the # binary after that directory — matching mainProgram and the systemd unit. subPackages = [ "cmd/gebos-ingester" ]; meta = { description = "MQTT → Postgres telemetry ingester for Gebos"; mainProgram = "gebos-ingester"; }; }