z_zetetic_z
Joined 6 years ago
Joined 6 years ago
No - just, no.
It's a completely 3d printed, fully analog, fully per key adjustable activation depth, magnetic levitation, mega RGB keyboard. Absolutly insane.
For sane people there's always the wooting HE https://wooting.io/wooting-60he which by most people's count is the best gaming keyboard money can buy right now.
There's also https://github.com/zhaofengli/colmena which may be of interest to folks.
But if you could have the server into 'lame duck mode' (no new connections accepted, but existing ones can finish) / gracefull shutdown and that's a blocking call (or you could poll if it's still up etc), then you could script that before the 'nixos-rebuild switch' call. Maybe sending SIGINT to the service does that already?
You build script becomes:
while true; do
git pull
nixos-rebuild switch
sleep x
done
That's it. You can even do it remotely and push the new desired state to remote machines (and still build on the target machine, no cross compile required).I've completely removed Ansible as a result and no more python version mismatches, no more hunting endless task yaml syntax, no more "my god ansible is slow" deplyments.