---
title: "NixOS VPS: NixOS 26.05 with Rollbacks | CloudSat"
description: "NixOS VPS with NixOS 26.05: declare the whole server in configuration.nix, apply it with nixos-rebuild, roll back to any generation. Root SSH on NVMe."
url: https://cloudsat.io/os/nixos
updated: 2026-11-18T21:28:02Z
source: CloudSat (https://cloudsat.io/). Prices in USD.
---

# Your NixOS VPS, as a file. Change it, roll it back.

**NixOS 26.05** with root SSH on KVM. Packages, services, users and firewall rules live in `/etc/nixos/configuration.nix`, and `nixos-rebuild switch` turns that file into the running system.

[Deploy a NixOS server](https://dash.cloudsat.io/console/deploy?image=nixos-26.05&plan=cloud-4g)

From $1.98/mo 14-day money-back Pay in crypto

NixOS at a glance

**NixOS** is a Linux distribution built on the **Nix** package manager. The whole system is declared in one configuration, built into the read-only `/nix/store`, and activated as a numbered **generation** you can roll back. CloudSat's image boots **NixOS 26.05** with **root SSH** and needs **1 GB** of memory ($2.78 a month). Most packages arrive prebuilt from the official binary cache, and the same configuration, pinned with a flake, builds the same server in any of the 13 regions.

- **Starting price**: $1.98 / month
- **Deploy time**: Under 5 minutes
- **Regions**: 13 worldwide
- **Uplink**: 40 Gbps
- **Uptime SLA**: 99.95%
- **Money-back**: 14 days

## Why NixOS: configuration drift has nowhere to hide.

Built from a file, not from shell history.

### Generations and rollback

Every `nixos-rebuild switch` adds a generation and keeps the earlier ones. Undo a bad change with `nixos-rebuild switch --rollback`, or pick an older entry from the boot menu.

### A server you can review

Keep `configuration.nix`, or a flake, in Git. A pull request shows exactly which package, port or service changes, so the diff doubles as the deployment plan.

### Atomic switches

The new system is built completely in the Nix store before anything changes over. An interrupted build leaves the running system as it was, with no half-upgraded state to repair.

### Prebuilt by default

The official binary cache serves compiled packages for nixpkgs, so a rebuild mostly downloads. Only your own derivations, overrides and patched packages compile on the server.

## Familiar admin jobs, the NixOS way: written as configuration.

Everyday server tasks on a typical distribution and on NixOS.

| Task | Typical distribution | NixOS |
| --- | --- | --- |
| Install a web server | `apt install nginx` | `services.nginx.enable = true;` |
| Add a tool | `dnf install htop` | `environment.systemPackages = [ pkgs.htop ];` |
| Open a port | `ufw allow 443` | `networking.firewall.allowedTCPPorts = [ 443 ];` |
| Add a user | `useradd -m alice` | `users.users.alice.isNormalUser = true;` |
| Run a nightly job | A crontab line | `systemd.services.backup.startAt = "daily";` |

Apply changes with `nixos-rebuild switch`; `nixos-rebuild boot` stages them for the next reboot instead.

Leave `system.stateVersion` at the value the image set: it records the release your data was created under, not the release you run.

## Twin servers, remote builders: where a NixOS VPS saves time.

Where a declarative system saves the most time.

### Twin servers in two regions

Deploy one flake to a server in Frankfurt and another in Dallas, and both build the same system from the same pinned inputs. Only a few host options differ.

### Deploys pushed from a laptop

`nixos-rebuild switch --flake .#web --target-host root@203.0.113.10` builds locally and copies the result over SSH. deploy-rs adds automatic rollback when a host stops responding; Colmena handles many hosts at once.

### Remote builders and caches

A larger plan makes a fast remote builder for your other machines through `nix.buildMachines`, or serves its store as a private binary cache with a tool such as Attic.

### Containers declared like services

`virtualisation.oci-containers` runs Docker or Podman containers as systemd units, with images and ports declared beside everything else. NixOS containers add lightweight systemd-nspawn guests defined in the same file.

### Auditable baselines

SSH settings, firewall rules, users and kernel options sit in one reviewed file. Reinstall a server from it after an incident and you know exactly what runs.

### Learning Nix safely

Try modules, overlays and flakes on a disposable server billed by the hour. Break it, boot the previous generation, and keep what you learned in Git.

**< 5 min** Delivery, any server

**40 Gbps** Uplink

**NVMe** Storage only

**13** Regions

**99.95%** Uptime SLA

**14 days** Money-back

## NixOS VPS locations: 13 regions. Pick the one next to your users.

Every region runs the same hardware, the same images and the same prices. Deploy in one, add another whenever you need it.

[Salt Lake City SLC1](https://cloudsat.io/locations/utah) [Las Vegas LAS1](https://cloudsat.io/locations/las-vegas) [Los Angeles LAX1](https://cloudsat.io/locations/los-angeles) [Dallas DFW1](https://cloudsat.io/locations/dallas) [New York NYC1](https://cloudsat.io/locations/new-york) [Miami MIA1](https://cloudsat.io/locations/miami) [London LON1](https://cloudsat.io/locations/london) [Amsterdam AMS1](https://cloudsat.io/locations/amsterdam) [Frankfurt FRA1](https://cloudsat.io/locations/frankfurt) [Bern BRN1](https://cloudsat.io/locations/switzerland) [Dubai DXB1](https://cloudsat.io/locations/dubai) [Singapore SIN1](https://cloudsat.io/locations/singapore) [Sydney SYD1](https://cloudsat.io/locations/sydney) [Tokyo TYO1 soon](https://cloudsat.io/locations/japan)

## NixOS VPS plans and pricing. Pay only for what you use.

Hourly or monthly, or pay 3, 6 or 12 months up front and save up to 15%. Hourly servers never cost more than the monthly price.

[See all 10 plans](https://cloudsat.io/plans)

| Plan | Best for | Price | Included | Order |
| --- | --- | --- | --- | --- |
| Launch · 512 MB | Sandboxes and side projects | $1.98/mo | 1 vCPU @ EPYC, 20 GB NVMe, 1 TB · 40 Gbps, Dedicated IPv4 + IPv6, Root SSH · KVM | [Deploy](https://dash.cloudsat.io/console/deploy?plan=cloud-512m&image=nixos-26.05) |
| Orbit · 1 GB | Small sites and bots | $2.78/mo | 1 vCPU @ EPYC, 25 GB NVMe, 1 TB · 40 Gbps, Dedicated IPv4 + IPv6, Root SSH · KVM | [Deploy](https://dash.cloudsat.io/console/deploy?plan=cloud-1g&image=nixos-26.05) |
| Apogee · 2 GB | WordPress and APIs | $5.98/mo | 1 vCPU @ EPYC, 60 GB NVMe, 3 TB · 40 Gbps, Dedicated IPv4 + IPv6, Root SSH · KVM | [Deploy](https://dash.cloudsat.io/console/deploy?plan=cloud-2g&image=nixos-26.05) |
| Zenith · 4 GB (most popular) | Production apps | $11.58/mo | 2 vCPU @ EPYC, 120 GB NVMe, 5 TB · 40 Gbps, Dedicated IPv4 + IPv6, Root SSH · KVM | [Deploy](https://dash.cloudsat.io/console/deploy?plan=cloud-4g&image=nixos-26.05) |

## NixOS VPS questions, answered.

**How do I move to a newer NixOS release?**

NixOS releases every May and November and supports each one for about seven months, so a server deployed from 26.05 should move to the next stable channel when it ships. Run `nix-channel --add https://nixos.org/channels/nixos-YY.MM nixos`, then `nixos-rebuild switch --upgrade`. On a flake, bump the nixpkgs input instead.

**Why did nixos-rebuild run out of memory?**

Evaluating a NixOS configuration can use most of a gigabyte, and compiling needs more. On the 1 GB plan, declare a swap file with `swapDevices`, or build on your own machine and push the result with `--target-host`. From 2 GB upward, routine rebuilds are comfortable.

**Should I convert the server to a flake?**

The image uses the classic `/etc/nixos/configuration.nix`, which is fine for one server. Flakes, still marked experimental, pin every input in `flake.lock`; enable them with `nix.settings.experimental-features = [ "nix-command" "flakes" ];` and build with `nixos-rebuild switch --flake .#web`. Pin when several servers must build from identical inputs.

**What does a rollback leave untouched?**

A rollback restores the previous system: packages, services, `/etc` and the kernel. It does not touch data in `/var`, `/home` or your databases, so a migration your application ran against its database stays applied. Snapshot the server in the console before major database upgrades.

**Why does /nix/store keep growing?**

Each generation keeps its packages alive. Remove old ones with `nix-collect-garbage --delete-older-than 14d`, or set `nix.gc.automatic = true;` and `nix.optimise.automatic = true;` to clean and deduplicate on a schedule. The 1 GB plan's 25 GB disk fills sooner than you might expect.

**Can I reuse a configuration from another machine?**

Yes. Copy your modules into `/etc/nixos` and import them from `configuration.nix`, keeping the hardware settings the image already imports, since those describe this server's disk, boot loader and virtio drivers. Then `nixos-rebuild switch` turns the server into the machine you described.

**What if a network change cuts off SSH?**

Apply risky network changes with `nixos-rebuild test`: it activates them without making them the boot default, so a reboot brings back the last good generation. If you are already locked out, ask support for the VNC console and choose the previous generation in the boot menu.

**Can I install NixOS with my own disk layout?**

The image gives you a working system on the server's NVMe disk. For ZFS, LUKS or a custom partition scheme, [boot your own ISO](https://cloudsat.io/bring-your-own-iso) and install by hand, or run nixos-anywhere with a disko layout from another machine to reinstall over SSH.

## Related to NixOS VPS

- [Gentoo VPS](https://cloudsat.io/os/gentoo): Gentoo VPS with Portage, USE flags and your choice of OpenRC or systemd profile, on AMD EPYC with NVMe and DDR5. Root SSH, and official binary packages too.
- [Arch Linux VPS](https://cloudsat.io/os/arch-linux): Arch Linux VPS on a rolling release: pacman, the AUR and a minimal base on AMD EPYC with NVMe and DDR5. Root SSH from 512 MB, live in under 5 minutes.
- [Dev and test servers](https://cloudsat.io/dev-test-servers): Hourly VPS for development and testing: deploy in under 5 minutes, pay by the hour, rebuild to a clean OS, snapshot before risky steps and script it via API.
- [DevOps platform hosting](https://cloudsat.io/devops-platform-hosting): Self-hosted DevOps platform on your own servers: GitLab or Forgejo, CI runners, Coolify deploys and Grafana dashboards. One-click apps and a REST API.
- [Custom ISO](https://cloudsat.io/bring-your-own-iso): Custom ISO VPS: send an ISO link, we attach it to your KVM server and you install any OS in the browser VNC console. NVMe, DDR5, a dedicated IPv4.
- [Pricing](https://cloudsat.io/plans): VPS pricing for every CloudSat plan: Cloud VPS from $1.98/mo, High Frequency from $2.78, GPU from $405.08 and bare metal. Hourly or monthly.
