ZFS: Difference between revisions
m worth -> forth |
|||
| Line 13: | Line 13: | ||
This snippet will configure the latest compatible kernel: | This snippet will configure the latest compatible kernel: | ||
< | <syntaxhighlight lang="nix"> | ||
{ lib, pkgs, ... }: | { lib, pkgs, ... }: | ||
let | let | ||
| Line 30: | Line 30: | ||
in | in | ||
{ | { | ||
# Note this might jump back and | # Note this might jump back and forth as kernel get added or removed. | ||
boot.kernelPackages = latestZfsCompatibleLinuxPackages; | boot.kernelPackages = latestZfsCompatibleLinuxPackages; | ||
} | } | ||
</ | </syntaxhighlight> | ||
==== Partial support for SWAP on ZFS ==== | ==== Partial support for SWAP on ZFS ==== | ||