Closed ivarmedi closed 4 months ago
Had the same issue, glad it wasn't just me. Result of deploy .#<hostname>
was
đ âšī¸ [deploy] [INFO] Running checks for flake in /home/paul/Config
warning: Git tree '/home/paul/Config' is dirty
warning: unknown flake output 'deploy'
error: builder for '/nix/store/y9jml39c6l2fi7dddkv515jhc0a0l06b-jsonschema-deploy-system.drv' failed with exit code 1;
last 2 log lines:
> Schema validation errors were encountered.
> /nix/store/wf9ihj48llx007r0nzfg4g4500rww0vy-deploy.json::$.nodes.<hostname>: 'hostname' is a required property
For full logs, run 'nix log /nix/store/y9jml39c6l2fi7dddkv515jhc0a0l06b-jsonschema-deploy-system.drv'.
đ â [deploy] [ERROR] Failed to check deployment: Nix checking command resulted in a bad exit code: Some(1)
I might be misunderstanding things, but I had to add the
hostname
to the node level to be able to deploy. Feel free to disregard if I'm doing something dumb