Jump to content

Install NixOS on Scaleway X86 Virtual Cloud Server

From Official NixOS Wiki

nixos-bite

As of July 2026, using nixos-bite just works. Even on a STARDUST with ipv6 only.

Add this to your cloud-init.yaml:

#cloud-config
runcmd:
- 'sleep 30s' # wait for network
- 'curl https://codeberg.org/whitequark/nixos-bite/raw/branch/main/nixos-bite.sh | bash -s reboot' 
# For Ipv6 only
# - 'curl https://codeberg.org/whitequark/nixos-bite/raw/branch/main/nixos-bite.sh | NIX_DNS=2a00:1098:2c::1 bash -s reboot'

It will maintain the SSH key provided to Scaleway, so you can just nixos-rebuild switch to the instance.

nixos-anywhere

Note: Undocumented. In theory it should work. If you have done it, please add this section