I can haz smoller NixOS ISOs?

Linux fans cheer, nitpick, and spiral over a giant 458MB startup disc

TLDR: A NixOS fan tried slimming down a “minimal” startup disc after discovering it was a hefty 458MB. Readers loved the experiment, but the comments split fast between excited tinkerers, dependency complainers, and skeptics asking whether removing Nix from NixOS defeats the whole point.

A perfectly ordinary quest to make a smaller startup disc for NixOS — a Linux system beloved by power users — somehow turned into a full-on comment-section soap opera. The original post starts with a shocking reveal: the basic disc image weighs in at 458MB, which is a lot for something that barely does anything yet. The author then goes on a ruthless diet plan, peeling back what’s taking up space and asking the question that launched a thousand nerd side-eyes: why is the “minimal” version still so chunky?

The crowd absolutely ate it up. One camp showed up with heart emojis and practical enthusiasm: people said it was a “nice adventure,” “super useful,” and exactly the kind of tinkering they want before jumping ship from other Linux systems. Another group immediately turned it into a lifestyle debate. One commenter grumbled that core tools like Perl, Python, and Bash being required is “unfortunate,” while another became weirdly evangelical, declaring NixOS “the one OS to rule them all” after swapping kernels like it was changing outfits.

But the real drama came from the skeptics. When the post suggested you could shrink things further by turning off Nix itself, one commenter basically hit the brakes and asked: if you don’t even want Nix installed, do you actually want NixOS at all? Ouch. That line turned the whole project from clever optimization into a tiny identity crisis, which is exactly the kind of deliciously nerdy meltdown the internet lives for.

Key Points

  • The article shows how to build a minimal NixOS VM from configuration using `pkgs.nixos` and `nix-build`.
  • It explains that the default generated VM is thin, with much of `/nix/store` mounted from the host rather than fully embedded in the guest image.
  • A bootable NixOS ISO can be created by importing `nixos/modules/installer/cd-dvd/iso-image.nix` and then booted with QEMU.
  • The resulting minimal NixOS ISO measured 458 MiB in the article's example.
  • Size inspection found that `nix-store.squashfs` accounted for about 416 MiB, compared with roughly 26 MiB for the initrd and 13 MiB for the kernel.

Hottest takes

"It was at this point I began to question the entire exercise" — xyzzy_plugh
"It’s unfortunate that Perl and Python are core deps, as well as Bash" — nylonstrung
"Truly the one OS to rule them all" — arikrahman
Made with <3 by @siedrix and @shesho from CDMX. Powered by Forge&Hive.