name: op
base: /home/calliope/share/gram/op
machine: grain-op
shares:
- doc
- share
preshare: |
  nd -l prod mix prepare;
  nd -l prod mix release --overwrite;
  |
release: _build/prod/rel/op
deploy: |
  source ~/.config/nushell/signal.nu;
  try { channels | where chan == 4000 | each { kill $in.PID } }
  source ~/.config/nushell/nix.nu;
  nd ~/release/op/bin/op daemon;
  |
