# Pastebin PydUJGTe boot = { # Enable ZFS support supportedFilesystems = [ "zfs" ]; # Native ZFS encryption is only available in zfsUnstable channel zfs.enableUnstable = true; kernelPackages = pkgs.linuxPackages_4_15; # It's recommended to use NOOP scheduler with ZFS (elevator=noop). # Force import manually in the case of ZFS import failure (boot.shell_on_fail). kernelParams = [ "elevator=noop" "boot.shell_on_fail" ]; # Grub on ZFS has been known to have a hard time finding kernels with really/long/dir/paths. # Copy the kernels to /boot and avoid the issue. loader.grub.copyKernels = true; };