have been looking at so many options how we can automate our deployments & dev environments
played with guix, nix, ...
the current conclusion is that while not perfect NIXOS and NIX might be the best option right now, its getting a lot of traction and its very active
This story is to setup a poc and let us see if we can indeed use it and it does what we want
Some of the tools i suggest to use & check
nushell (quite incredible, better than bash scripts)
vsh (v shell, can be used with our own libraries)
nix / nixos
install NIXOS on hetzner
create a script in nushell to talk to hetzner api, and start a rescue machine on existing node
create simple bash script to download or install nushell into the rescue machine (a one liner to download the script and then execute which results in the tools we need)
create a nushell script to erase all partitions (make HD's completely empty)
create a nushell script to create our required partitions: ext4+swap to boot (50GB), btrfs partitions after it mounted on /disk1 /disk2 for now (if e.g. 2 SSD's)
have been looking at so many options how we can automate our deployments & dev environments
played with guix, nix, ...
the current conclusion is that while not perfect NIXOS and NIX might be the best option right now, its getting a lot of traction and its very active
This story is to setup a poc and let us see if we can indeed use it and it does what we want
Some of the tools i suggest to use & check
install NIXOS on hetzner
see https://git.ourworld.tf/freeflowuniverse/nu/issues for further instructions and the repo itself.
see https://git.ourworld.tf/freeflowuniverse/nu
test the following