{ 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.enableUnstable = true; zfs.removeLinuxDRM = true; }; }