{ pkgs, inputs', ... }: let kernelPackages = (pkgs.zfs.override { removeLinuxDRM = pkgs.hostPlatform.isAarch64; }) .latestCompatibleLinuxPackages; in { imports = [ (inputs'.nixpkgs + "/nixos/modules/profiles/qemu-guest.nix") ]; boot = { initrd.kernelModules = ["nvme"]; kernelPackages = kernelPackages; zfs.package = pkgs.zfs_unstable; zfs.removeLinuxDRM = true; }; }