NixOps4 Development and Funding Update - Nix 💙 Deployments

Hey everyone,It's time for another update on NixOps4! ✨Some of you may have already seen the present...

@ocramius @nyunyu Feel free to disregard but you don't have to do full #NixOps to provision remotely. You can just do:
nixos-rebuild --target-host root@host switch

That said - it won't mix very well with a gui running on destination machine. In my setup the destination nodes don't even have /etc/nixos for example, only the node deploying them has the repo/config.

Well, since @nyunyu's PC now runs #Nixos + flakes, it is time for me to learn #NixOps in practice, so I can provision her machine from remote.

The declarative approach is cool for me, not for her, and really needs a small GUI that does:

* edit a list of wished system / user programs
* do a `rebuild test`
* do a `commit` + push
* do a `rebuild switch`
* sometimes with `nix flake update`

NixOps Maintenance and Towards NixOps4 - Nix 💙 Deployments

Hi everyone,It's been a while since our last update, and I wanted to share what has been going on with NixOps and our future plans!Progress Over the Last Two Years · Since taking over as the maintainer of NixOps, my focus has been primarily...

Holy fuck, a huge journey just ended today:

My final, my largest, most active personal repo was finally converted to flakes & #colmena for managing #nixOS hosts.

My Git oracles informed me that I first started trying to convert this repo on the 8th April 2021 😳

It had become such a massive chore to have one repo still stuck in the #nixops swamp, that I finally set aside a day on the weekend and JFDI.

Being a personal repo, previous attempts had suffered from "bah, I don't have time for this"

@nobodyinperson how are you managing multiple #NixOS #RapberryPi configurations?

I only have a new #FrameWork and legacy #System76, laptops, and my configurations are already divergent. I plan to add my Pi's into the mix, but need a better strategy.

#GitOps doesn't seem to cut it, and, though I know it would work, think I should go for something more idiomatic than #Ansible templates. I've seen some very interesting #NixOps setups, but https://github.com/NixOS/nixops?tab=readme-ov-file#nixops says it's in maintenance mode!?!

GitHub - NixOS/nixops: NixOps is a tool for deploying to NixOS machines in a network or cloud.

NixOps is a tool for deploying to NixOS machines in a network or cloud. - NixOS/nixops

GitHub

It'll be a while before it's usable, but NixOps4 did its first thing!

https://asciinema.org/a/665817

#NixOps #Nix #Fediversity

NixOps4 first signs of life

Very much work in progress

asciinema.org

So for some reason my #nixops-deployed VPS on Gandi Cloud VPS cannot boot after any kind of shutdown/restart. Judging from the VNC, it hangs on mounting the virtual disk.

hamster.dance will be down again until I either fix that somehow or give up and try a different hosting service

I've just deployed my first #Nix package to a remote machine using #NixOps, and it's been quite easy and convenient. Now it's time to learn how to write a #NixOS service to run the binary as part of the system's lifecycle and I'll be able to say that I've deployed a pet project using the #Nix stack for the first time!
@publicvoit sure,
My best advice for #nixos migration:
so don't use #flake if you don't need it
Don't use #homemanager if you don't need it
Don't use #nixops/#colmena if you don't need it
Don't use ....