Talk: ZFS

From NixOS Wiki
Revision as of 03:57, 11 October 2021 by Vater (talk | contribs) (Vater moved page Talk:NixOS on ZFS to Talk:ZFS)
Jump to: navigation, search

Add boot.initrd.supportedFilesystems = ["zfs"]; ?

What about recommending to also add

boot.initrd.supportedFilesystems = ["zfs"];

See https://github.com/NixOS/nixpkgs/pull/99386#issuecomment-798813567

I think recommending to add this would allow you in the far future to use zfs as filesystem without forcing to add grub support for zfs if you don't need it.

I currently have https://github.com/NixOS/nixpkgs/pull/117071 open to revert back to that behaviour like it's been in 20.09 (adding a zfs filesystem also adds support to grub, more exactly the original behaviour was to always enable zfs support in grub even without any zfs filesystem)

--Mohe2015 (talk) 15:46, 22 March 2021 (UTC)