clan-vm-manager: Restore to known good version

This commit is contained in:
Qubasa
2024-07-19 22:05:47 +02:00
parent b047babccb
commit 131299694b
63 changed files with 4263 additions and 4 deletions

View File

@@ -21,6 +21,10 @@ class VmConfig:
graphics: bool
waypipe: bool = False
def __post_init__(self) -> None:
if isinstance(self.flake_url, str):
self.flake_url = FlakeId(self.flake_url)
def inspect_vm(machine: Machine) -> VmConfig:
data = json.loads(machine.eval_nix("config.clan.core.vm.inspect"))