[Unit] Description=Publish idx ownership snapshot to GitHub Releases Wants=network-online.target After=network-online.target [Service] Type=oneshot Environment=HOME=/var/lib/idx-ownership-snapshot EnvironmentFile=/etc/idx-ownership-snapshot.env # Build once with `nix build github:0xrsydn/idx-cli#ownership-publisher -o /opt/idx-ownership-publisher`. # Idempotent: exits 0 with "RESULT: up-to-date" when nothing newer exists. ExecStart=/opt/idx-ownership-publisher/bin/idx-ownership-publish --output-dir /var/lib/idx-ownership-snapshot/current --repo 0xrsydn/idx-cli --release-tag ownership-snapshot-current --history 5