Scaryzfs - enable scary experimental ZFS on NixOS

scaryzfs is a Nix flake that allows you to take manual control of the ZFS sources being used in your nixos configuration, and use a fork or pull request from ZFS upstream, despite the danger in doing so, in order to test or use more recent Linux kernel versions with ZFS on NixOS.

6 Likes

This should only really be used in a VM (nix microvm/full nixos on libvirt) for testing purposes right? I think that should be mentioned in the README. Nice shim though.

1 Like

Is the iKnowTheRisks = true option not enough?

I’m using this on my GPD Pocket 4 because only 6.15 has the fixes needed for my GPU.

Yeah okay, didn’t see that :laughing: sounds like enough but maybe a link to said risks could be nice?

How does that work? How is a filesystem function dependent on which GPU is used?

How is a filesystem function dependent on which GPU is used?

In order to use the GPU fixes in the latest kernel, I need to run the latest kernel. Which means I need to use the latest ZFS, because an older ZFS is not able to be used with the newer kernel.

Nice!

Another suggestion for your future ideas section:

  • a vm test that runs the ZTS from the relevant revision