NixOS / nixops

NixOps is a tool for deploying to NixOS machines in a network or cloud.
https://nixos.org/nixops
GNU Lesser General Public License v3.0
1.82k stars 363 forks source link

Deploying to any nixos machine #1146

Open greaka opened 5 years ago

greaka commented 5 years ago

I want to deploy to a vps and figured I should deploy a nixos first and then deploy nixops onto it. The manual has an example how to deploy to any nixos machine:

https://nixos.org/nixops/manual/#sec-deploying-to-physical-nixos

Is there any security involved? Can I just capture any nixos machine on the net? Does nixops need a valid ssh connection string in targetHost? How can I verify that only I can modify my machines?

arianvp commented 5 years ago

NixOps does deployment through SSH. so the target in question needs to have an openssh server running.

greaka commented 5 years ago

Can targetHost take an argument like user@1.2.3.4?