reopening #111 (ZFS)
truatpasteurdotfr opened this issue · comments
Tru Huynh commented
reporting that the kernel module build and loads:
[tru@mba15-m2-nixos:~]$ uname -a
Linux mba15-m2-nixos 6.6.0-asahi #1-NixOS SMP PREEMPT_DYNAMIC Tue Jan 1 00:00:00 UTC 1980 aarch64 GNU/Linux
[tru@mba15-m2-nixos:~]$ modinfo zfs|head
filename: /run/booted-system/kernel-modules/lib/modules/6.6.0-asahi/extra/zfs.ko.zst
version: 2.2.3-1
license: CDDL
license: Dual BSD/GPL
license: Dual MIT/GPL
author: OpenZFS
description: ZFS
alias: zzstd
alias: zcommon
alias: zunicode
[tru@mba15-m2-nixos:~]$ lsmod|grep zfs
zfs 4440064 6
spl 131072 1 zfs
/etc/nixos/configuration.nix
...
# ZFS
boot.supportedFilesystems = [ "zfs" ];
boot.zfs.forceImportRoot = false;
networking.hostId= "007f0200";
# error: Package ‘zfs-kernel-2.2.3-6.6.0-asahi’ in /nix/store/r944d4j7p39b769x7ykbsiz5wm3q8agf-nixos-23.11/nixos/pkgs/os-specific/linux/zfs/generic.nix:213 is marked as broken, refusing to evaluate.
nixpkgs.config.allowBroken = true;
Tru Huynh commented
oops forgot to report that I was using https://github.com/tpwrules/nixos-apple-silicon/releases/tag/release-2024-03-24
Karl Skewes commented
Original issue: #111