public-cloud-roadmap icon indicating copy to clipboard operation
public-cloud-roadmap copied to clipboard

NixOS support

Open Sporesirius opened this issue 2 years ago • 6 comments

Support of NixOS as supported OS on VPS and other products.

Sporesirius avatar Jul 08 '23 19:07 Sporesirius

Hi,

Thanks for your interest in our roadmap.

NixOS support is not in our roadmap on a mid-term period. On Public Cloud, you can already create custom images tailor made for your needs and NixOS should work. ex with nixos cloudinit base image : https://gist.github.com/voidus/1230b200043b7f815e2513663d16353b

Thanks

DavidDelebecque avatar Oct 28 '24 17:10 DavidDelebecque

hey @DavidDelebecque, come on it's currently the fifth most upvoted issue on your backlog ^^! image

ldicarlo avatar Jan 09 '25 20:01 ldicarlo

We'll investigate it as you insist ;-). Will be happy to know more if any specifics are expected from you ?

DavidDelebecque avatar Jan 23 '25 15:01 DavidDelebecque

As I see it, I would like to be able to choose NixOS when installing a VPS. NixOS has a special way to define ssh public keys, so that I can then copy the nix config files locally.

Currently when I need a new NixOS machine, I install as Ubuntu (not all versions work), I set up a root ssh public key and then I nixos-infect it running the lib.

I have nothing more as requirements than that because as soon as NixOS is installed, I push my nix derivations to make it like I need.

Refs https://nixos.wiki/wiki/SSH https://github.com/elitak/nixos-infect

ldicarlo avatar Jan 23 '25 17:01 ldicarlo

Hello, It's now the second most upvoted item on the roadmap 🎉 What's the result of your investigations @DavidDelebecque? Do you need more input from the community?

Crocmagnon avatar Dec 13 '25 16:12 Crocmagnon

ideally we would have native nixos support but with https://github.com/nix-community/nixos-anywhere once you've nailed the config, you can bootstrap nixos automatically. nixos-anywhere just needs to ssh to the initial machine (debian, ubuntu, as long it has ssh and kexec), kexecs into the nixos installer, partitions the disk according to your https://github.com/nix-community/disko config and installs your nixos on it, and finally reboots into a proper nixos.

teto avatar Dec 13 '25 17:12 teto