ZFS: Difference between revisions
m worth -> forth |
|||
Line 11: | Line 11: | ||
Newer kernels might not be supported by ZFS yet. If you are running a kernel which is not officially supported by zfs, the module will refuse to evaluate and show an error. | Newer kernels might not be supported by ZFS yet. If you are running a kernel which is not officially supported by zfs, the module will refuse to evaluate and show an error. | ||
This snippet will configure the latest compatible kernel: | You can pin to a newer kernel version explicitly, but note that this version may be dropped by upstream and in nixpkgs prior to zfs supporting the next version. See [[Linux kernel]] for more information.<syntaxhighlight lang="nix"> | ||
{ | |||
boot.kernelPackages = pkgs.linuxPackages_latest; | |||
# OR | |||
boot.kernelPackages = pkgs.linuxPackages_6_6 | |||
} | |||
</syntaxhighlight>This snippet will configure the latest compatible kernel: | |||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> |