Now, https://github.com/jollheef/appvm is available in NixOS Unstable.
https://github.com/NixOS/nixpkgs/commit/f81c763c1de3fc0d2f746b82891684e3c08c919a
Devil's advocate. Opinions are not my own nor the views of my employer. Posts are deleted after two weeks.