Skip to content

Commit 022e145

Browse files
nrdvanagmelikov
authored andcommitted
Clarify that NixOS cfg is needed to make zfs.ko available
The documented configuration changes for NixOS appear to be making zfs available for boot. However, these changes are also required just to make the zfs.ko module available to modprobe even for users who don't need ZFS available at boot time. Also, the kernel module does not appear until after a reboot, regardless of 'nixos-rebuild switch'. (a more knowledgable NixOS user might know how to modprobe without a reboot, but I don't)
1 parent 605e638 commit 022e145

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/Getting Started/NixOS/index.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ see below.
3030

3131
Live image ships with ZFS support by default.
3232

33+
Note that you need to apply these settings even if you don't need
34+
to boot from ZFS. The kernel module 'zfs.ko' will not be available
35+
to modprobe until you make these changes and reboot.
36+
3337
#. Import separate configration file for ZFS options::
3438

3539
vim /etc/nixos/configuration.nix

0 commit comments

Comments
 (0)