
This guide is a companion to the video Install NixOS 26.11 on a VM: One Config File Is the System, which is the starting point for everything below. The video walks through installing NixOS 26.11 Zokor on a virtual machine with the official minimal-ISO manual method, from partitioning to the first verified boot of generation one. The automatic captions download failed with a rate-limit error, so this guide treats the video description plus the narration script as the transcript-equivalent, with the tested research notes supplying every command below.
Added research in this guide comes from the official NixOS manual and hands-on test notes, and it is kept separate from what the video demonstrates. For release background, see NixOS 26.11 Zokor release. NixOS 26.11 Zokor was released on 2026-11-28, and the 26.11 release notes list the Zokor release. The terminal frames in this guide recreate the tested output.
nixos-26.11 channel, with its checksum verifiedDownload the ISO from the official download page or directly from the channel, alongside its published checksum file. The exact commands used in testing were:
curl -L -o nixos-minimal-26.11-x86_64.iso https://channels.nixos.org/nixos-26.11/latest-nixos-minimal-x86_64-linux.isocurl -L -o nixos-minimal-26.11-x86_64.iso.sha256 https://channels.nixos.org/nixos-26.11/latest-nixos-minimal-x86_64-linux.iso.sha256sha256sum nixos-minimal-26.11-x86_64.iso
Only boot the ISO if the computed hash matches the published hash. In the tested install the ISO checksum matched the published .sha256 file. Boot the VM from the ISO and it drops you at a root shell on the installer console.
Everything from partitioning onward is destructive to the target disk. The parted, mkfs.fat, mkswap, and mkfs.ext4 commands below destroy all data on the disk you point them at, which is why this guide targets a throwaway virtual machine disk. Confirm your VM disk device, shown here as /dev/sda, before running any of them.
The tested layout is GPT with a 1 GB ESP, 4 GB of swap, and the rest for root, booted with systemd-boot. Partition first:
parted /dev/sda -- mklabel gptparted /dev/sda -- mkpart ESP fat32 1MiB 1GiBparted /dev/sda -- mkpart primary linux-swap 1GiB 5GiBparted /dev/sda -- mkpart primary 5GiB 100%parted /dev/sda -- set 1 esp onparted /dev/sda -- printThen format the three partitions:
mkfs.fat -F 32 -n boot /dev/sda1mkswap -L swap /dev/sda2swapon /dev/sda2mkfs.ext4 -L nixos /dev/sda3Then mount root at /mnt with the ESP at /mnt/boot:
udevadm settlemount /dev/disk/by-label/nixos /mntmkdir -p /mnt/bootmount -o umask=077 /dev/disk/by-label/boot /mnt/bootGenerate the starter configuration with nixos-generate-config --root /mnt, then edit /mnt/etc/nixos/configuration.nix. This single file is the whole system, and the tested install declared:

boot.loader.systemd-boot.enable = true;boot.loader.efi.canTouchEfiVariables = true;networking.hostName = "pilot-nixos";networking.networkmanager.enable = true;time.timeZone = "UTC";services.openssh = { enable = true; settings.PermitRootLogin = "prohibit-password"; };users.users.root.openssh.authorizedKeys.keys = [ "<your-ssh-ed25519-pubkey>" ];system.stateVersion = "26.11";Substitute your own hostname and your own SSH public key. In testing, the generated hardware-configuration.nix was kept as generated and only configuration.nix was edited.
Run the installer with nixos-install --no-root-passwd and then reboot. The install downloads the whole system and builds your first generation, which takes several minutes and is shortened in the video. In the tested install it fetched 712 store paths, installed systemd-boot to the ESP, and finished with installation finished!. Detach the ISO so the first boot comes off the virtual disk.
Log back in over SSH with key-only root login and confirm the installed system:

nixos-versionnixos-rebuild list-generationssystemctl is-system-runningIn the tested install, nixos-version reported 26.11beta506.113c61690ba6 (Zokor), nixos-rebuild list-generations showed generation 1 marked current with kernel 6.18.65, and systemctl is-system-running reported running. One honest disclosure: the tested channel build string still carries a beta tag, while stable 26.11 reports a dated version instead, and the config and steps are identical either way.
udevadm settle after formatting in the test sandbox, is untested beyond that one environmentBack up /etc/nixos/configuration.nix because it is your installer. Change it, rebuild, and the machine follows.