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.84k stars 363 forks source link

NixOps containers: new deployment backend #1226

Closed tekeri closed 1 year ago

tekeri commented 4 years ago

Hi all, I've created and privately used new backend of NixOps which can be used to deploy to systemd-nspawn containers on a remote. But the project structure has changed since then and I'm at a loss now. Could you help me to integrate this branch?

https://github.com/tekeri/nixops/tree/nixops-containers Thanks.

tekeri commented 4 years ago

related https://github.com/NixOS/nixops/issues/923

onny commented 3 years ago

Is it possible to add this container backend again from scratch? Maybe having it in its own specific repository like nixops-libvirt https://github.com/nix-community/nixops-libvirtd

tekeri commented 3 years ago

Your suggestion is nice and I have the same idea, but unfortunately, I don't have time to work on it these days. It is appreciated if my work is ported.

tekeri commented 3 years ago

It should be rewritten for more consistent state management in any case... It should work consistently even if the host state is changed over time.

tekeri commented 1 year ago

Closed this issue as I no longer use NixOps in favor of nixos-rebuild --target-host and Terraform nixos_module. Feel free to reopen it if anyone needs it.