Fetch Token TV flake from GitLab over HTTPS #348

Merged
nimmo merged 2 commits from feat/token-tv-gitlab-input into main 2026-10-16 22:22:11 +01:00
Owner

Fetch the Token TV input from its imported GitLab repository over public HTTPS. The input name and nixpkgs follow relationship remain unchanged. Public fetching removes the need for a GitLab SSH credential on builders.

The lock entry preserves commit 796654364fdbd3a82d3c1f43c6b170044c58f2b9 and its exact NAR hash; this changes transport/origin rather than the packaged application. Validation: fetching the GitLab input succeeded, revision/hash equality passed, nix flake check passed across all four configurations, and formatting/whitespace checks passed.

Project migration MR: https://forge.nimmog.uk/nimmo/token-tv-nix/-/merge_requests/3 . Its current-head MR pipeline https://forge.nimmog.uk/nimmo/token-tv-nix/-/pipelines/2 passed, including 75 package tests and eight module tests ingested by GitLab. Token TV's original Forgejo Actions is disabled; other repositories' CI remains enabled.

Current-head automated review is ready to merge and consumer CI passes. This branch is separate from the GitLab MCP registry changes. No host activation performed. Reverting the two-file change restores the Forgejo input.

Closes #347. Public GitLab fetching was exercised without credentials; this transport change preserves the application revision and NAR hash.

Fetch the Token TV input from its imported GitLab repository over public HTTPS. The input name and nixpkgs follow relationship remain unchanged. Public fetching removes the need for a GitLab SSH credential on builders. The lock entry preserves commit `796654364fdbd3a82d3c1f43c6b170044c58f2b9` and its exact NAR hash; this changes transport/origin rather than the packaged application. Validation: fetching the GitLab input succeeded, revision/hash equality passed, `nix flake check` passed across all four configurations, and formatting/whitespace checks passed. Project migration MR: https://forge.nimmog.uk/nimmo/token-tv-nix/-/merge_requests/3 . Its current-head MR pipeline https://forge.nimmog.uk/nimmo/token-tv-nix/-/pipelines/2 passed, including 75 package tests and eight module tests ingested by GitLab. Token TV's original Forgejo Actions is disabled; other repositories' CI remains enabled. Current-head automated review is ready to merge and consumer CI passes. This branch is separate from the GitLab MCP registry changes. No host activation performed. Reverting the two-file change restores the Forgejo input. Closes #347. Public GitLab fetching was exercised without credentials; this transport change preserves the application revision and NAR hash.
Fetch Token TV flake from GitLab over HTTPS
All checks were successful
AI pull-request review / review (pull_request) Successful in 4s
Build and Push Attic Cache / test (pull_request) Successful in 2m37s
Build and Push Attic Cache / build (pull_request) Has been skipped
Build and Push Attic Cache / pin-lifecycle (pull_request) Has been skipped
Build and Push Attic Cache / remediate (pull_request) Has been skipped
Build and Push Attic Cache / notify-remediation (pull_request) Has been skipped
Build and Push Attic Cache / record-remediation-notify-failure (pull_request) Has been skipped
f32685c1f9
Preserve the existing source revision and NAR hash while changing only its fetch origin. Refs #347.
nimmo added this to the GitLab Pilot milestone 2026-10-16 19:04:10 +01:00
nimmo changed title from WIP: Fetch Token TV flake from GitLab over HTTPS to Fetch Token TV flake from GitLab over HTTPS 2026-10-16 19:07:29 +01:00
clankbot left a comment

Automated code review

Reviewed commit: f32685c1f9cf931603c654dbfd3f7f23a698c7e9

Verdict: Ready to merge

No blocking or important findings were retained, and deterministic checks passed. Suggestions remain advisory.

Overall assessment

The supplied change repoints the single token-tv flake input from the SSH origin ssh://git@git.nimmog.uk:2222/nimmo/token-tv.nix.git to git+https://forge.nimmog.uk/nimmo/token-tv-nix.git?ref=main in flake.nix (line 86), with the matching flake.lock rewrite. I verified every consumer addresses the input only by the unchanged attribute name token-tv: modules/services/token-tv.nix (inputs.token-tv.nixosModules.default, inputs.token-tv.packages.${...}.default), modules/profiles/ai-runtime.nix (tokenTv = inputs.token-tv.packages...), flake.nix (packages.x86_64-linux.token-tv, consumed by scripts/check-token-tv-config.nix via flake.packages.x86_64-linux.token-tv), and the token-tv group in lib/auto-update-policy.nix (inputs = [ "token-tv" ]). No script, workflow, test, or policy file hardcodes either origin URL (grep for git.nimmog.uk/token-tv.nix/token-tv-nix matches only flake.nix, flake.lock, and a README.md link). The lock entry keeps the same rev (796654364fdbd3a82d3c1f43c6b170044c58f2b9), narHash, lastModified, revCount, and the nixpkgs follows edge, so resolved outputs are unchanged. The new lock shape ("ref": "main" in both locked and original, URL without the ?ref= query) is byte-consistent with the already-locked redview input, whose flake.nix URL uses the same ?ref=main form (flake.nix line 90), so the two changed files are mutually consistent. No defect demonstrable from the supplied evidence was found in the changed files.

Blocking findings

None.

Important findings

None.

Suggestions

None.

Tests and validation

  • No configured deterministic checks.

Questions

  • README.md line 244 still links the Token TV package/service module to https://git.nimmog.uk/nimmo/token-tv.nix, the pre-migration location, while flake.nix line 86 now points at forge.nimmog.uk/nimmo/token-tv-nix. AGENTS.md line 47 states 'When making configuration changes: Review README.md and update it if appropriate. Stage README changes with the rest of the commit.' Should that documentation link be updated in this same change, or is the old URL still a working redirect?
  • The PR claims public HTTPS fetching removes the need for a GitLab SSH credential on builders, but flake.nix still pins many inputs to ssh://git@git.nimmog.uk:2222/... (e.g. redview at flake.lock line 804, nixos-auto-update, kiwifs-nix, navidrome-mcp), and .forgejo/workflows/attic-cache.yml runs nix flake check plus scripts/attic-cache-build.sh --update-build with no forge credentials in its env. Can you confirm the unauthenticated fetch of https://forge.nimmog.uk/nimmo/token-tv-nix.git was actually exercised (e.g. an unauthenticated git clone or curl -I on the smart-HTTP endpoint), given that flake update still requires SSH access for the other inputs?

Review limitations

  • No network access: I could not verify that forge.nimmog.uk/nimmo/token-tv-nix.git exists, is publicly readable, serves commit 796654364fdbd3a82d3c1f43c6b170044c58f2b9, or that the pinned narHash sha256-W6l5dKR1oMwtoHtRQlpP4wPvkEuZ4zQ+YzFNFpUU1MI= matches at that origin; I relied on the PR's stated validation.
  • I did not run nix flake check, just test, or any repository code (the review container has no Nix), so the four-configuration check result is taken from the PR text rather than reproduced.
  • Only flake.lock and flake.nix were supplied as changed files; I inspected other files as checked-out context and cannot confirm they are byte-identical to the base commit or that nothing else changed.
  • The upstream nimmo/token-tv-nix repository is not vendored in this checkout, so I could not confirm that nixosModules.default and packages.<system>.default still exist at the pinned rev; that holds only if the pinned rev and NAR are genuinely identical.

Diff coverage

  • flake.lock: reviewed — included in a context-limited batch
  • flake.nix: reviewed — included in a context-limited batch
Review metadata
  • Reviewer: forgejo-ai-review v1
  • Model: strata/strata
  • Guidance loaded: .forgejo/ai-review.md, .forgejo/ai-review.yml, AGENTS.md, docs/auto-update-remediation.md, docs/hermes-fleet-ssh.md, docs/nova-remote-builder.md, README.md
  • Commits considered: 1
  • Previous automated review: none found
  • Findings: 0
<!-- forgejo-ai-review:v1 --> ## Automated code review Reviewed commit: `f32685c1f9cf931603c654dbfd3f7f23a698c7e9` ## Verdict: Ready to merge No blocking or important findings were retained, and deterministic checks passed. Suggestions remain advisory. ### Overall assessment The supplied change repoints the single `token-tv` flake input from the SSH origin `ssh://git@git.nimmog.uk:2222/nimmo/token-tv.nix.git` to `git+https://forge.nimmog.uk/nimmo/token-tv-nix.git?ref=main` in flake.nix (line 86), with the matching flake.lock rewrite. I verified every consumer addresses the input only by the unchanged attribute name `token-tv`: modules/services/token-tv.nix (`inputs.token-tv.nixosModules.default`, `inputs.token-tv.packages.${...}.default`), modules/profiles/ai-runtime.nix (`tokenTv = inputs.token-tv.packages...`), flake.nix (`packages.x86_64-linux.token-tv`, consumed by scripts/check-token-tv-config.nix via `flake.packages.x86_64-linux.token-tv`), and the `token-tv` group in lib/auto-update-policy.nix (`inputs = [ "token-tv" ]`). No script, workflow, test, or policy file hardcodes either origin URL (grep for `git.nimmog.uk`/`token-tv.nix`/`token-tv-nix` matches only flake.nix, flake.lock, and a README.md link). The lock entry keeps the same `rev` (796654364fdbd3a82d3c1f43c6b170044c58f2b9), `narHash`, `lastModified`, `revCount`, and the `nixpkgs` follows edge, so resolved outputs are unchanged. The new lock shape (`"ref": "main"` in both `locked` and `original`, URL without the `?ref=` query) is byte-consistent with the already-locked `redview` input, whose flake.nix URL uses the same `?ref=main` form (flake.nix line 90), so the two changed files are mutually consistent. No defect demonstrable from the supplied evidence was found in the changed files. ### Blocking findings None. ### Important findings None. ### Suggestions None. ### Tests and validation - No configured deterministic checks. ### Questions - README.md line 244 still links the Token TV package/service module to `https://git.nimmog.uk/nimmo/token-tv.nix`, the pre-migration location, while flake.nix line 86 now points at `forge.nimmog.uk/nimmo/token-tv-nix`. AGENTS.md line 47 states 'When making configuration changes: Review README.md and update it if appropriate. Stage README changes with the rest of the commit.' Should that documentation link be updated in this same change, or is the old URL still a working redirect? - The PR claims public HTTPS fetching removes the need for a GitLab SSH credential on builders, but flake.nix still pins many inputs to `ssh://git@git.nimmog.uk:2222/...` (e.g. redview at flake.lock line 804, nixos-auto-update, kiwifs-nix, navidrome-mcp), and .forgejo/workflows/attic-cache.yml runs `nix flake check` plus `scripts/attic-cache-build.sh --update-build` with no forge credentials in its env. Can you confirm the unauthenticated fetch of `https://forge.nimmog.uk/nimmo/token-tv-nix.git` was actually exercised (e.g. an unauthenticated `git clone` or `curl -I` on the smart-HTTP endpoint), given that flake update still requires SSH access for the other inputs? ### Review limitations - No network access: I could not verify that `forge.nimmog.uk/nimmo/token-tv-nix.git` exists, is publicly readable, serves commit 796654364fdbd3a82d3c1f43c6b170044c58f2b9, or that the pinned narHash `sha256-W6l5dKR1oMwtoHtRQlpP4wPvkEuZ4zQ+YzFNFpUU1MI=` matches at that origin; I relied on the PR's stated validation. - I did not run `nix flake check`, `just test`, or any repository code (the review container has no Nix), so the four-configuration check result is taken from the PR text rather than reproduced. - Only flake.lock and flake.nix were supplied as changed files; I inspected other files as checked-out context and cannot confirm they are byte-identical to the base commit or that nothing else changed. - The upstream `nimmo/token-tv-nix` repository is not vendored in this checkout, so I could not confirm that `nixosModules.default` and `packages.<system>.default` still exist at the pinned rev; that holds only if the pinned rev and NAR are genuinely identical. ### Diff coverage - `flake.lock`: **reviewed** — included in a context-limited batch - `flake.nix`: **reviewed** — included in a context-limited batch <details><summary>Review metadata</summary> - Reviewer: forgejo-ai-review v1 - Model: strata/strata - Guidance loaded: .forgejo/ai-review.md, .forgejo/ai-review.yml, AGENTS.md, docs/auto-update-remediation.md, docs/hermes-fleet-ssh.md, docs/nova-remote-builder.md, README.md - Commits considered: 1 - Previous automated review: none found - Findings: 0 </details>
Author
Owner

Addressed the review questions before the follow-up push:

  • Updated the README's Token TV package/module link to the GitLab project in local commit 719f93f. Focused diff/whitespace review passed; this follow-up changes documentation only, so the already-passing flake validation remains applicable.
  • Confirmed public HTTPS with a credential-free smart-HTTP request and an explicit fetch of pinned commit 796654364fdbd3a82d3c1f43c6b170044c58f2b9 using an empty credential helper/header and disabled prompts. Fetch succeeded after the project MR was merged. The earlier Nix update also preserved the exact revision and NAR hash.
  • The credential statement applies to this Token TV input only. The remaining Forgejo-hosted inputs still use their existing SSH credentials; this MR does not migrate them or claim otherwise.

GitLab project MR !3 was merged by nimmo independently during review follow-up. Its MR pipeline #2 passed with all eight JUnit cases ingested; main pipeline #3 is now running. I have not merged this consumer MR or deployed hosts. Pushing the README correction next to obtain a review of the new head.

Addressed the review questions before the follow-up push: - Updated the README's Token TV package/module link to the GitLab project in local commit `719f93f`. Focused diff/whitespace review passed; this follow-up changes documentation only, so the already-passing flake validation remains applicable. - Confirmed public HTTPS with a credential-free smart-HTTP request and an explicit fetch of pinned commit `796654364fdbd3a82d3c1f43c6b170044c58f2b9` using an empty credential helper/header and disabled prompts. Fetch succeeded after the project MR was merged. The earlier Nix update also preserved the exact revision and NAR hash. - The credential statement applies to this Token TV input only. The remaining Forgejo-hosted inputs still use their existing SSH credentials; this MR does not migrate them or claim otherwise. GitLab project MR !3 was merged by nimmo independently during review follow-up. Its MR pipeline #2 passed with all eight JUnit cases ingested; main pipeline #3 is now running. I have not merged this consumer MR or deployed hosts. Pushing the README correction next to obtain a review of the new head.
Point Token TV documentation at its GitLab repository
All checks were successful
Build and Push Attic Cache / test (pull_request) Successful in 1m27s
Build and Push Attic Cache / build (pull_request) Has been skipped
Build and Push Attic Cache / pin-lifecycle (pull_request) Has been skipped
Build and Push Attic Cache / remediate (pull_request) Has been skipped
Build and Push Attic Cache / notify-remediation (pull_request) Has been skipped
Build and Push Attic Cache / record-remediation-notify-failure (pull_request) Has been skipped
AI pull-request review / review (pull_request) Successful in 2m16s
719f93fd85
clankbot left a comment

Automated code review

Reviewed commit: 719f93fd8509f0f0cb84b3574b0555afa41d64f5

Verdict: Ready to merge

No blocking or important findings were retained, and deterministic checks passed. Suggestions remain advisory.

Overall assessment

The change repoints the token-tv flake input from the SSH Forgejo URL (ssh://git@git.nimmog.uk:2222/nimmo/token-tv.nix.git) to the HTTPS URL https://forge.nimmog.uk/nimmo/token-tv-nix.git?ref=main, updates the matching flake.lock entry (same pinned rev 796654364fdbd3a82d3c1f43c6b170044c58f2b9 and narHash), and updates the README link. I checked every consumer in the checked-out tree: modules/services/token-tv.nix (inputs.token-tv.nixosModules.default, inputs.token-tv.packages...), modules/profiles/ai-runtime.nix (inputs.token-tv.packages...), flake.nix (packages.x86_64-linux.token-tv, checks.x86_64-linux.token-tv-config via scripts/check-token-tv-config.nix), and lib/auto-update-policy.nix (name = "token-tv"; inputs = [ "token-tv" ]) all reference the input by attribute name, never by URL, so the origin change is transparent to them. The new lock entry's original/locked shape (ref: "main" plus ?ref=main in flake.nix) matches the existing redview entry format at flake.lock lines 799-809, so it is well-formed and consistent with the repository's existing convention. No remaining reference to token-tv.nix or the old SSH URL exists anywhere in the tree (grep for token-tv.nix and git.nimmog.uk shows only unrelated repositories/hosts). No defect caused by the supplied changes was found.

Blocking findings

None.

Important findings

None.

Suggestions

None.

Tests and validation

  • No configured deterministic checks.

Questions

  • Confirm that forge.nimmog.uk/nimmo/token-tv-nix.git is reachable over unauthenticated git-over-HTTPS from all builder hosts in .forgejo/workflows/attic-cache.yml, since the change removes the SSH identity/credential dependency (modules/common/system.nix, modules/services/hermes-fleet-ssh.nix configure SSH for git.nimmog.uk, not for forge.nimmog.uk).

Review limitations

  • The supplied checkout does not contain the token-tv input itself, so I cannot verify that the migrated GitLab repository still serves commit 796654364fdbd3a82d3c1f43c6b170044c58f2b9 with NAR hash sha256-W6l5dKR1oMwtoHtRQlpP4wPvkEuZ4zQ+YzFNFpUU1MI=; the pinned values are unchanged in the diff.
  • No Nix tooling was run here, so nix flake check, nix flake show, and CI results were not re-verified; validation evidence is limited to the static text of the changed files and their consumers.
  • I cannot confirm from supplied repository evidence that forge.nimmog.uk is the intended GitLab host for this migration; it appears only in the changed files and is not referenced elsewhere in the tree.

Diff coverage

  • README.md: reviewed — included in a context-limited batch
  • flake.lock: reviewed — included in a context-limited batch
  • flake.nix: reviewed — included in a context-limited batch
Review metadata
  • Reviewer: forgejo-ai-review v1
  • Model: strata/strata
  • Guidance loaded: .forgejo/ai-review.md, .forgejo/ai-review.yml, AGENTS.md, docs/auto-update-remediation.md, docs/hermes-fleet-ssh.md, docs/nova-remote-builder.md, README.md
  • Commits considered: 2
  • Previous automated review: none found
  • Findings: 0
<!-- forgejo-ai-review:v1 --> ## Automated code review Reviewed commit: `719f93fd8509f0f0cb84b3574b0555afa41d64f5` ## Verdict: Ready to merge No blocking or important findings were retained, and deterministic checks passed. Suggestions remain advisory. ### Overall assessment The change repoints the `token-tv` flake input from the SSH Forgejo URL (`ssh://git@git.nimmog.uk:2222/nimmo/token-tv.nix.git`) to the HTTPS URL `https://forge.nimmog.uk/nimmo/token-tv-nix.git?ref=main`, updates the matching `flake.lock` entry (same pinned `rev` 796654364fdbd3a82d3c1f43c6b170044c58f2b9 and `narHash`), and updates the README link. I checked every consumer in the checked-out tree: `modules/services/token-tv.nix` (`inputs.token-tv.nixosModules.default`, `inputs.token-tv.packages...`), `modules/profiles/ai-runtime.nix` (`inputs.token-tv.packages...`), `flake.nix` (`packages.x86_64-linux.token-tv`, `checks.x86_64-linux.token-tv-config` via `scripts/check-token-tv-config.nix`), and `lib/auto-update-policy.nix` (`name = "token-tv"; inputs = [ "token-tv" ]`) all reference the input by attribute name, never by URL, so the origin change is transparent to them. The new lock entry's `original`/`locked` shape (`ref: "main"` plus `?ref=main` in flake.nix) matches the existing `redview` entry format at flake.lock lines 799-809, so it is well-formed and consistent with the repository's existing convention. No remaining reference to `token-tv.nix` or the old SSH URL exists anywhere in the tree (grep for `token-tv.nix` and `git.nimmog.uk` shows only unrelated repositories/hosts). No defect caused by the supplied changes was found. ### Blocking findings None. ### Important findings None. ### Suggestions None. ### Tests and validation - No configured deterministic checks. ### Questions - Confirm that `forge.nimmog.uk/nimmo/token-tv-nix.git` is reachable over unauthenticated git-over-HTTPS from all builder hosts in `.forgejo/workflows/attic-cache.yml`, since the change removes the SSH identity/credential dependency (`modules/common/system.nix`, `modules/services/hermes-fleet-ssh.nix` configure SSH for `git.nimmog.uk`, not for `forge.nimmog.uk`). ### Review limitations - The supplied checkout does not contain the `token-tv` input itself, so I cannot verify that the migrated GitLab repository still serves commit 796654364fdbd3a82d3c1f43c6b170044c58f2b9 with NAR hash sha256-W6l5dKR1oMwtoHtRQlpP4wPvkEuZ4zQ+YzFNFpUU1MI=; the pinned values are unchanged in the diff. - No Nix tooling was run here, so `nix flake check`, `nix flake show`, and CI results were not re-verified; validation evidence is limited to the static text of the changed files and their consumers. - I cannot confirm from supplied repository evidence that `forge.nimmog.uk` is the intended GitLab host for this migration; it appears only in the changed files and is not referenced elsewhere in the tree. ### Diff coverage - `README.md`: **reviewed** — included in a context-limited batch - `flake.lock`: **reviewed** — included in a context-limited batch - `flake.nix`: **reviewed** — included in a context-limited batch <details><summary>Review metadata</summary> - Reviewer: forgejo-ai-review v1 - Model: strata/strata - Guidance loaded: .forgejo/ai-review.md, .forgejo/ai-review.yml, AGENTS.md, docs/auto-update-remediation.md, docs/hermes-fleet-ssh.md, docs/nova-remote-builder.md, README.md - Commits considered: 2 - Previous automated review: none found - Findings: 0 </details>
nimmo merged commit 89d2a837be into main 2026-10-16 22:22:11 +01:00
nimmo deleted branch feat/token-tv-gitlab-input 2026-10-16 22:22:12 +01:00
Sign in to join this conversation.
No reviewers
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
nimmo/nixos-config!348
No description provided.