Skip to content

Commit ea783db

Browse files
committed
Repair T3 migration upgrades on managed fleet
1 parent bbd4732 commit ea783db

3 files changed

Lines changed: 10 additions & 8 deletions

File tree

nix-shared/home-manager/t3code-managed-connections.nix

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,13 @@
1515
];
1616
magicDnsSuffix = "taileb3aad.ts.net";
1717
connections =
18-
map (host: {
18+
map (host: let
19+
authority = "${host}.${magicDnsSuffix}${lib.optionalString (host == "railbird-sf") ":8443"}";
20+
in {
1921
environmentId = "fleet:${host}";
2022
label = host;
21-
httpBaseUrl = "https://${host}.${magicDnsSuffix}/";
22-
wsBaseUrl = "wss://${host}.${magicDnsSuffix}/";
23+
httpBaseUrl = "https://${authority}/";
24+
wsBaseUrl = "wss://${authority}/";
2325
})
2426
fleetHosts;
2527
connectionsJson = builtins.toJSON connections;

nixos/flake.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nixos/flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@
338338
# Pin by REV, never by branch: generated assembly branches move on rebuild.
339339
# Each rebuild also pushes a dated tag, so older revs stay fetchable.
340340
t3code-integration = {
341-
url = "github:colonelpanic8/t3code/be830d1657874e8752ddfb181b864bedd6cbcd9b";
341+
url = "github:colonelpanic8/t3code/822fa9f213d13029dc3395f82292b421e590282f";
342342
inputs = {
343343
nixpkgs.follows = "nixpkgs";
344344
flake-utils.follows = "flake-utils";

0 commit comments

Comments
 (0)