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:
parent
0224279b61
commit
fa95feb584
1 changed files with 14 additions and 9 deletions
23
iso.nix
23
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 = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue