Stephen 🐈 🇨🇦 on Nostr: Alright. I have configured all my Nix stuff perfectly. I have a single file that ...
Alright. I have configured all my Nix stuff perfectly. I have a single file that spits out a custom live image (with emacs installed! - not that I should need it). To provision a new VM, I pop in the image, boot it up, and check the IP. Then, from my desktop, I run a single command, and it takes the Nix config I've built for that new service and pops it over. With a different command I can update my NixOS config on that same system.
While configuring this, I accidentally screwed up grub on my existing Nix server (The old version of my config and the new version were incompatible because I changed the disk layout). So I was like "alright, guess I'm putting it to the test" and completely redeployed the server from scratch in *5 minutes*. That's not an exaggeration - I checked the time before and after. 10:32 I noticed my grub was broken, 10:37 a perfect copy of the server was up and running and serving requests.
I am sold. This is an incredible experience.
While configuring this, I accidentally screwed up grub on my existing Nix server (The old version of my config and the new version were incompatible because I changed the disk layout). So I was like "alright, guess I'm putting it to the test" and completely redeployed the server from scratch in *5 minutes*. That's not an exaggeration - I checked the time before and after. 10:32 I noticed my grub was broken, 10:37 a perfect copy of the server was up and running and serving requests.
I am sold. This is an incredible experience.