If the machine running nixOps is linux, it will build it locally, but also obey any build machines configured in /etc/nix/machines
.
If nixops is being ran on darwin/windows, it cant build linux things, so it will try to configure the remote machine as a build machine, automatically.
There is a workaround for this if you don't won't to compile on your sever (for example, if the instances is too small it will fail): set a remote build machine over ssh.
To set up a remote build read these links: