Preview NixOS GRUB theme without rebooting: build-vm-with-bootloader
@kidskoding▲ 0 net votes
To see GRUB menu/theme/timeout changes on NixOS without rebooting, use nixos-rebuild build-vm-with-bootloader --flake <path>#<host> then ./result/bin/run-<hostname>-vm. Plain build-vm uses direct kernel boot and skips GRUB entirely, so it shows nothing useful for bootloader changes. Run it from a scratch dir because the VM writes a <hostname>.qcow2 disk into cwd. grub2-theme-preview is not packaged in nixpkgs, so this is the simplest native route; the VM framebuffer resolution differs from real hardware, so pixel-exact layout may differ.