{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixops/issues/260","labels_url":"https://api.github.com/repos/NixOS/nixops/issues/260/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixops/issues/260/comments","events_url":"https://api.github.com/repos/NixOS/nixops/issues/260/events","html_url":"https://github.com/NixOS/nixops/issues/260","id":55684078,"number":260,"title":"Support building fully remotely","user":{"login":"wmertens","id":54934,"avatar_url":"https://avatars.githubusercontent.com/u/54934?v=3","gravatar_id":"","url":"https://api.github.com/users/wmertens","html_url":"https://github.com/wmertens","followers_url":"https://api.github.com/users/wmertens/followers","following_url":"https://api.github.com/users/wmertens/following{/other_user}","gists_url":"https://api.github.com/users/wmertens/gists{/gist_id}","starred_url":"https://api.github.com/users/wmertens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmertens/subscriptions","organizations_url":"https://api.github.com/users/wmertens/orgs","repos_url":"https://api.github.com/users/wmertens/repos","events_url":"https://api.github.com/users/wmertens/events{/privacy}","received_events_url":"https://api.github.com/users/wmertens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-01-27T22:28:21Z","updated_at":"2015-04-13T14:46:38Z","closed_at":null,"body":"If you're running nixops on your OS X laptop and deploy, it will first download a bunch of things to your laptop and fail at some point because you're on Darwin. Next, you log in on the deployed remote host and add your own ssh key so that nix-build can use the host. Then, you deploy again and it starts uploading what it just downloaded. This is not a nice user story.\r\n\r\nIt would be great if there was support for a buildhost, which runs the deployment build and then pushes to the other nodes in the network. One or more of the machines in the network are marked as workers and one is marked as nixops master. If the nixops master is defined it will perform all downloads and coordinate builds, and all other machines are populated from it.\r\n\r\nSomething like that? Or at the very least documenting a workflow like \"deploy a VM from this image, do this to make it into a regular nixos machine with nixops and copy your network definitions on there\" would be nice."},"comment":{"url":"https://api.github.com/repos/NixOS/nixops/issues/comments/92386557","html_url":"https://github.com/NixOS/nixops/issues/260#issuecomment-92386557","issue_url":"https://api.github.com/repos/NixOS/nixops/issues/260","id":92386557,"user":{"login":"edolstra","id":1148549,"avatar_url":"https://avatars.githubusercontent.com/u/1148549?v=3","gravatar_id":"","url":"https://api.github.com/users/edolstra","html_url":"https://github.com/edolstra","followers_url":"https://api.github.com/users/edolstra/followers","following_url":"https://api.github.com/users/edolstra/following{/other_user}","gists_url":"https://api.github.com/users/edolstra/gists{/gist_id}","starred_url":"https://api.github.com/users/edolstra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edolstra/subscriptions","organizations_url":"https://api.github.com/users/edolstra/orgs","repos_url":"https://api.github.com/users/edolstra/repos","events_url":"https://api.github.com/users/edolstra/events{/privacy}","received_events_url":"https://api.github.com/users/edolstra/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T14:46:37Z","updated_at":"2015-04-13T14:46:37Z","body":"Hm, calling `uname` on every machine seems unnecessary. Presumably NixOps already knows the architecture of the remote machines (e.g. from the `nixpkgs.system` option)."}}