Open tobiasBora opened 3 years ago
I'm having the same issue trying to start a machine on Mojave using the trivial-vbox.nix
example.
I believe the issue is very specific to your example and not related to nixops SSH function
If you look closely at the code, you'll see that you are actually creating a different resource called services and all of the SSH errors are related to that resource
| services | Missing | none | | |
Reason being, you have placed the 'services.postgresql' definition outside of the main "giteabackend" bloc thus making it seem as a different machine
};
};
services.postgresql = {
enable = true;
};
}
So to fix this, ,you just have to move one of the closing curly braces written before the 'services.postgresql' to just after it
Hope this may help!
I don't know why, but the very first time I tried nixops on a simple configuration it worked, but now I get the following errors:
Here are the full logs, with all relevant files. Also, let me know if you know how to give alternative hosts, like
gitea.example.org
to the VM (useful for testing).