anchor.diff:        --tmpfs=/var \
         --network-zone="$network_zone" \
         --kill-signal=SIGRTMIN+3 \
  -      "${initBinary}" "$NIXOS_NOMAD_INIT"
  +      "${initBinary}" "${host.nixos.out.system}/init"
     '';
   
     setupNetwork = writeScript "setup-network" ''
       #!${stdenv.shell}
  -
  -    set -x
   
       set -eu
       set -o pipefail
  
positive.code:     exec "$@"
    '';
  
    launchHost = writeScript "launch-host" ''
      #!${stdenv.shell}
  
      set -x
  
      set -eu
      set -o pipefail
  
      host="$NOMAD_TASK_NAME"
      init="$NIXOS_NOMAD_INIT"
      root="$NOMAD_TASK_DIR/root"
      alloc="$NOMAD_ALLOC_INDEX''${NOMAD_ALLOC_ID:0:8}"
      network_zone="$alloc"
  
negative.code:       driver = "raw_exec"
        kill_signal = "SIGTERM"
        config {
          command = "${launchHost host}"
        }
        env {
          ${concatStringsSep "\n" (
            mapAttrsToList (k: v: ''${k} = "${v}"'') host.environment
          )}
  