Adjust the project to work on different systems / architectures
Specifically OS X, but also Linux on a different processor architecture.
Also, update the flake (lock file).
Also fix some issues and improve Direnv setup. There was a bug detecting Lorri.