Hardcode the repository releases come from

routerUpdate.repository (a module option beside the update keys, not a
router.* setting) defaults to the project's repository; the Updates page names
it but no longer has a field for it. Forks and tests set it in a module.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-25 10:05:08 +01:00
co-authored by Claude Sonnet 5.5
parent 6982ae4d73
commit ad9de15344
11 changed files with 85 additions and 101 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
# The flake.nix of an installed router's configuration directory when its
# nixos-router comes from a git repository (router.update.repository).
# nixos-router comes from a git repository (routerUpdate.repository).
# `router-update --git` writes it with @SOURCE@ replaced by the address of the
# release it installs (git+URL?ref=refs/tags/vX.Y.Z&rev=COMMIT), so the lock
# file and this file always agree and nothing moves to a newer commit by itself.