Patch init to simplify routing. Update Dhall library and NixOS modules accordingly.
Convert the tests to use the module system from NixOS.