From fa95feb584995f5c145590d19c0b0207149530fe Mon Sep 17 00:00:00 2001 From: Padreug Date: Sun, 28 Jun 2026 09:54:30 +0200 Subject: [PATCH] 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 --- iso.nix | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/iso.nix b/iso.nix index d21a0ce..a28cc48 100644 --- a/iso.nix +++ b/iso.nix @@ -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 = [