I couldn't find a clean way to run OrBit on my NixOS laptop, so this repo is my personal workaround using Wine + some helper scripts.
My use case is a 2022 Polestar 2: I use OrBit to rebuild/update modules and unlock Matrix LED behavior that is enabled on EU builds.
If you're trying something similar, feel free to use this as a starting point.
This is experimental and not an official setup.
- Scripts to probe OBD Ethernet and launch OrBit with Wine
- Nix flake apps so everything is runnable with
nix run - Optional update/rollback helpers for safer testing
It does not include OrBit installers, vendor configs, or any private/proprietary data.
From this directory:
nix run .#orbit-startThat runs OBD probing first, then starts OrBit.
If you just want to launch OrBit:
nix run .#orbit-runnix run .#orbit-start- probe network then launchnix run .#orbit-run- launch onlynix run .#orbit-obd-debug- probe onlynix run .#orbit-obd-restore- reset interface IPnix run .#orbit-update -- /path/to/OrBitInstaller.exe- run installer with backupnix run .#orbit-rollback- restore latest backup
Update with an installer you downloaded yourself:
nix run .#orbit-update -- /path/to/OrBitInstaller.exeRollback if an update breaks login or launch:
nix run .#orbit-rollbackList backups:
nix run .#orbit-rollback -- --listORBIT_EXE(default:~/.wine/drive_c/users/$USER/AppData/Local/OrBitApp/OrBitRun.exe)WINEPREFIX(default:~/.wine)OBD_IFACE(force interface)ORBIT_INSTALLER(used byorbit-update)ORBIT_BACKUP_DIR(default:~/.orbit-runner-backups)
- Tested for personal use; expect rough edges.
- If you publish your own fork, keep private configs and installer files out of git.
