7 services.nix-serve.enable = true;
8 environment.systemPackages = [
14 pkgHash = builtins.head (
15 builtins.match "${builtins.storeDir}/([^-]+).+" (toString config.node.pkgs.hello)
20 machine.wait_for_unit("nix-serve.service")
21 machine.wait_for_open_port(5000)
23 "curl --fail -g http://0.0.0.0:5000/nar/${pkgHash}.nar -o /tmp/hello.nar"