nixos/palace: Add BindsTo= dependency for river on cellar

This commit is contained in:
Jack O'Sullivan 2023-12-16 12:54:10 +00:00
parent 4624480c8b
commit cc07964fac

View File

@ -69,7 +69,8 @@
in in
{ {
requires = [ vtapUnit ]; requires = [ vtapUnit ];
after = [ vtapUnit ]; after = [ vtapUnit "vm@cellar.service" ];
bindsTo = [ "vm@cellar.service" ];
preStart = '' preStart = ''
until ${pkgs.netcat}/bin/nc -w1 -z ${allAssignments.cellar.hi.ipv4.address} 22; do until ${pkgs.netcat}/bin/nc -w1 -z ${allAssignments.cellar.hi.ipv4.address} 22; do
sleep 1 sleep 1