GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Initial NixOS support by Riceman2000 · Pull Request #59 · BackplaneWorks/Backplane

Conversation

@Riceman2000

@Riceman2000 Riceman2000 commented Oct 11, 2026

Copy link
Copy Markdown
Contributor

Adds a Nix flake and NixOS module for Backplane.

  • Package: wraps the official v0.11.1 release (x86_64 and aarch64), patched to run on NixOS, with auto-update disabled. nix/update.sh is a utility that bumps the pinned version.
  • Module: services.backplane adds a dedicated user, state and cache directories, and the backplane-serve service with optional Tailscale. Secrets load from environmentFile/LoadCredential and restart the service when they change.
  • Test: a NixOS VM test boots the hub, checks /hello on 3787 and the bind address, and confirms no failed units.
    • a --version would be really helpful here but I wanted to keep this PR focused
  • Docs: nix/README.md, linked from the main README's Install section.

I am running this way on my servers using NixOS so the general functionality here is well tested.

nix flake check passes on x86_64-linux. aarch64 should be fine but I don't have an ARM Nix machine so 🤷.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Riceman2000

Riceman2000 commented Oct 14, 2026

Copy link
Copy Markdown
Contributor Author

Hey @i2cjak, is there anything I can do for this to get it rolling?

I've been running Backplane on NixOS through this flake and module on my own servers without issues. It's still pinned to v0.11.1, the current release, and nix/update.sh makes future version bumps a one-liner. I'm happy to rebase onto the latest main, split it into smaller pieces, or change anything to fit how you'd like Nix support handled.

Thanks for the great project!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Riceman2000 @cursoragent
feat: Nix package and NixOS module for the release binaries (#1)
fb5f9d7
* feat: add a Nix flake and NixOS module for the release binaries

Package the official Linux tarballs (x86_64 and aarch64), put the
dlopen'd libraries on the rpath, and add services.backplane with a
TCG-friendly nixosTest.

Co-authored-by: Rice <[email protected]>

* fix: keep the library path out of builtins.toFile

Nix rejects a toFile script that mentions a derivation. Substitute
@libPath@ at install time, and use the top-level libx11 names.

Co-authored-by: Rice <[email protected]>

* fix: call testers.nixosTest on nixpkgs 26.05

pkgs.nixosTest was renamed. Give the default app a description so
flake check does not warn.

Co-authored-by: Rice <[email protected]>

* fix: merge eval-check options without dropping enable

A shallow // replaced services.backplane, so the secret-path cases
never enabled the module and the assertions were not checked.

Co-authored-by: Rice <[email protected]>

* fix: run the NixOS test without requiring KVM

QEMU still uses accel=kvm:tcg, so a builder with no KVM emulates
instead of being refused the kvm system feature.

Co-authored-by: Rice <[email protected]>

* fix: pass requiredFeatures through runNixOSTest

The legacy nixosTest wrapper rejects requiredFeatures. The module
interface can turn the kvm feature off so the test emulates.

Co-authored-by: Rice <[email protected]>

* fix: wait for multi-user instead of the linger oneshot

linger-users.service is Type=oneshot without RemainAfterExit, so a
successful run is inactive and wait_for_unit treats it as a failure.
The test checks the linger file instead.

Co-authored-by: Rice <[email protected]>

* docs: move Nix notes out of the project README

The Nix and NixOS write-up lives in nix/README.md. The project README
only links to it. The service no longer filters the pairing token: the
journal keeps the line the hub prints.

Co-authored-by: Rice <[email protected]>

---------

Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: Rice <[email protected]>
@cursor
cursor Bot force-pushed the main branch from b08b178 to fb5f9d7 Compare October 18, 2026 15:25
@Riceman2000

Riceman2000 commented Oct 19, 2026

Copy link
Copy Markdown
Contributor Author

Closing this, moving to a different account

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Riceman2000 Riceman2000 closed this Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@Riceman2000
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.