{ pkgs, ... }: let kernelPackages = pkgs.linuxPackages_latest; in { boot = { inherit kernelPackages; # https://github.com/artmoty-dev/n5pro-jmb585-fix kernelParams = [ "amd_iommu=on" ]; initrd = { supportedFilesystems = { bcachefs = true; }; }; # Enable binfmt emulation for ARM binfmt.emulatedSystems = [ "aarch64-linux" ]; }; }