3 ms·
nixos-anywhere is a tool that allows you to do something similar (?) to install NixOS in-place on a remote machine (using kexec “magic” under the hood). https:
by Cyph0n 2y ago
nixos-anywhere is a tool that allows you to do something similar (?) to install NixOS in-place on a remote machine (using kexec “magic” under the hood).
https://github.com/nix-community/nixos-anywhere https://github.com/nix-community/nixos-anywhere
I tried it on a Hetzner VPS and was honestly pretty surprised that it even worked. What makes it even cooler is that you can continue to rebuild the machine’s config remotely even after initialization (thanks to NixOS).
- e3bc54b2 2y agoI recently finally rented a VPS from Hetzner, and to my pleasant surprise was done and ready with my config (shell, utils, services) in under 5 minutes. It took me longer to read about nixos-anywhere and disko in aggregate. NixOS lends itself pretty well to these kinds of magic works.
- Cyph0n 2y agoReading about it is a one-time thing. Once your config is setup, the single command takes less than 5 minutes to run. Of course, if what you already have works and/or you aren’t using NixOS in the first place, this probably is not the right tool for you.
- irusensei 2y agoHetzner offer Nixos isos. I got an arm server there running 24.05.
- Cyph0n 2y agoOh nice, is that a recent change? Because I don’t think I saw the option a few months back.
- Hetzner_OL 2y agoYou can see this option on Hetzner Cloud by navigating to a cloud server you want to use it on, and then to "ISO Images" in the menu at the top and then navigating through the alphabetized list of images. --Katie (Hetzner Online)