Thanks for the pointer @primeos. I added the following to configuration.nix per per MESA-LOADER: failed to open $driver · Issue #94315 · NixOS/nixpkgs · GitHub and rebuilt. Sway works now:
hardware.opengl = {
enable = true;
driSupport = true;
};