fix(iso): disable broken zfs in the live installer

The installation-CD profile enables zfs so you can install onto it, but
the pinned nixpkgs ships a broken zfs-kernel that fails to evaluate,
breaking `nix flake check` and ISO builds. Force-disable zfs in the ISO
(a desktop installer doesn't need ZFS-root); use the official NixOS ISO
for ZFS installs.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Padreug 2026-06-28 09:54:30 +02:00
commit fa95feb584

23
iso.nix
View file

@ -476,15 +476,20 @@
# Boot configuration for ISO
boot = {
# Support for various filesystems
supportedFilesystems = [
"btrfs"
"ext4"
"xfs"
"ntfs"
"fat32"
"exfat"
];
# Explicit filesystem support. zfs is force-disabled: the upstream
# installation-CD profile enables it (to allow installing onto ZFS),
# but the pinned nixpkgs ships a broken zfs-kernel that fails to
# evaluate. An Omnixient desktop installer doesn't need ZFS-root support,
# so we drop it rather than ship a broken/stale module. (Use the
# official NixOS ISO if you need to install onto ZFS.)
supportedFilesystems = {
btrfs = true;
ext4 = true;
xfs = true;
ntfs = true;
exfat = true;
zfs = lib.mkForce false;
};
# Include lots of modules for hardware compatibility
initrd.availableKernelModules = [