# PLACEHOLDER — replaced on install. # # disko (disk-config.nix) owns "/" and "/boot", so this file only carries # kernel modules + platform. nixos-anywhere regenerates it via: # nixos-generate-config --no-filesystems # Fallback for the UX581 (10th-gen Intel, NVMe): `vmd` in case the firmware # has Intel VMD/RST on, which hides the NVMe from stage 1 without it. { config, lib, pkgs, modulesPath, ... }: { boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "vmd" "nvme" "usb_storage" "usbhid" "sd_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; # NO fileSystems here — disko defines "/" and "/boot". swapDevices = [ ]; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; }