Skip to content

infra(nixos): authorize Mac SSH key for root; fix CI - #138

Merged
danielnaab merged 3 commits into
mainfrom
infra/2026-12-03-mac-ssh-key
Dec 3, 2026
Merged

danielnaab merged 3 commits into
mainfrom
infra/2026-12-03-mac-ssh-key

Conversation

@danielnaab

@danielnaab danielnaab commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

Context

The server only allows root SSH from the pve key, so it can't be reached from the work laptop for operational tasks such as looking up access requests. CI was also failing on every PR for two unrelated reasons, fixed here so this can merge.

Changes

  • Add the dnaab@flexion.us ed25519 public key to users.users.root.openssh.authorizedKeys.keys
  • ci: pin runners to ubuntu-24.04. ubuntu-latest is now 26.04, which Playwright 1.59.1 can't install Chromium deps for
  • test: base-path.test.ts restored an unset BASE_PATH by assigning undefined. Since Bun 1.4 (which CI installs as latest) that stores the string "undefined", so later test files resolved URLs under /undefined/

Testing

  • CI green (push + pull_request)
  • After merge, apply with bun run cli nixos apply (from pve). NixOS changes are not auto-applied; the deploy script only posts a deploy.nixos-changed notification
  • ssh root@forms.labs.flexion.us true succeeds from the laptop
  • pve key still works

Only the pve key could log in as root, so the server was unreachable
from the work laptop for operational lookups (e.g. vetting access
requests). Add the dnaab@flexion.us ed25519 key alongside it.

Pot-Run: 9e13
ubuntu-latest now resolves to Ubuntu 26.04, which Playwright 1.59.1
cannot install chromium dependencies for, so the Test job fails on
every PR. Pin to 24.04 until Playwright supports the newer image.

Pot-Run: 9e13
Since Bun 1.4, assigning undefined to process.env stores the string
"undefined" (matching Node). base-path.test.ts restored an unset
BASE_PATH that way, so every later test file resolved URLs under
/undefined/. CI installs the latest Bun, which exposed it.

Pot-Run: 9e13
@danielnaab
danielnaab temporarily deployed to infra-2026-12-03-mac-ssh-key December 3, 2026 23:18 Inactive
@danielnaab danielnaab changed the title infra(nixos): authorize Mac SSH key for root infra(nixos): authorize Mac SSH key for root; fix CI Dec 3, 2026
@danielnaab
danielnaab merged commit fdbd274 into main Dec 3, 2026
4 checks passed
@danielnaab
danielnaab deleted the infra/2026-12-03-mac-ssh-key branch December 3, 2026 23:20
@danielnaab danielnaab mentioned this pull request Dec 3, 2026
3 of 4 tasks

This branch was previously deployed

1 inactive deployment
infra-2026-12-03-mac-ssh-key — fc63c25f Deployed Dec 3, 2026 by danielnaab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant