The main NixOS module is a single file. This was done for easy fetching in cloud-init using fetchurl (check history), no need for unzip/tar, but is harder and harder to maintain. Agents spend tons of tokens just figuring out which section to edit. We also can't use static the usual static analysis tools, since the embedded assets are not accessible without installing the module and checking in a built NixOS image.
The main NixOS module is a single file. This was done for easy fetching in cloud-init using
fetchurl(check history), no need forunzip/tar, but is harder and harder to maintain. Agents spend tons of tokens just figuring out which section to edit. We also can't use static the usual static analysis tools, since the embedded assets are not accessible without installing the module and checking in a built NixOS image.fetchurlto fix multiple file fetch.