Talk:ZFS

From NixOS Wiki
Revision as of 15:46, 22 March 2021 by imported>Mohe2015 (Created page with " == Add <code>boot.initrd.supportedFilesystems = ["zfs"];</code> ? == What about recommending to also add boot.initrd.supportedFilesystems = ["zfs"]; See https://github.co...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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)Reply