fix(deploy): point Sintra autoUpgrade at aiolabs/bitspire, not lamassu-next
The dev autoUpgrade flake URL still referenced the pre-migration repo (aiolabs/lamassu-next), so the Sintra test unit would auto-pull lamassu-next/dev at 04:00 — which lacks all the bitspire work (the QR-pairing wizard, etc.) and would revert the box to the old no-seed build. Repoint it at aiolabs/bitspire?ref=dev, the post-migration home of this code. lamassu-next still feeds the not-yet-converted production ATMs (batm3, douro) until they migrate. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
a957433eca
commit
962214ec15
1 changed files with 10 additions and 9 deletions
19
flake.nix
19
flake.nix
|
|
@ -169,17 +169,18 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# Auto-upgrade: pulls latest flake and runs nixos-rebuild switch.
|
# Auto-upgrade: pulls latest flake and runs nixos-rebuild switch.
|
||||||
# NOTE: this branch (dev) pins the upgrade source to ?ref=dev so
|
# NOTE: bitSpire machines pull from the `aiolabs/bitspire` repo —
|
||||||
# any ATM flashed from `dev` stays on `dev`. Without the explicit
|
# the post-migration home of this code. This branch (dev) pins the
|
||||||
# ref, nix would resolve to the repo's default branch (main),
|
# upgrade source to ?ref=dev so any ATM flashed from `dev` stays on
|
||||||
# which would silently regress a dev-deployed Sintra back to the
|
# `dev`. Without the explicit ?ref=dev, nix would resolve the repo's
|
||||||
# lamassu-next production code at 04:00. The `main` branch's
|
# default branch and could silently change a dev-deployed Sintra at
|
||||||
# flake.nix continues to omit ?ref= so production ATMs (batm3,
|
# 04:00. The legacy `aiolabs/lamassu-next` repo still feeds the
|
||||||
# douro) keep pulling main HEAD as before.
|
# not-yet-converted production ATMs (batm3, douro) from its own
|
||||||
# To update manually: sudo nixos-rebuild switch --flake git+ssh://forgejo@git.atitlan.io/aiolabs/lamassu-next.git?ref=dev#<model>-installed
|
# branches; it is retired once those machines migrate to bitspire.
|
||||||
|
# To update manually: sudo nixos-rebuild switch --flake git+ssh://forgejo@git.atitlan.io/aiolabs/bitspire.git?ref=dev#<model>-installed
|
||||||
system.autoUpgrade = {
|
system.autoUpgrade = {
|
||||||
enable = true;
|
enable = true;
|
||||||
flake = "git+ssh://forgejo@git.atitlan.io/aiolabs/lamassu-next.git?ref=dev#${machineModel}-installed";
|
flake = "git+ssh://forgejo@git.atitlan.io/aiolabs/bitspire.git?ref=dev#${machineModel}-installed";
|
||||||
flags = [ "--refresh" ];
|
flags = [ "--refresh" ];
|
||||||
dates = "04:00"; # daily at 4am
|
dates = "04:00"; # daily at 4am
|
||||||
allowReboot = false;
|
allowReboot = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue