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