# NOTE: Replace with the actual generated hardware config from the laptop. # Generate on the laptop with: # sudo nixos-generate-config --show-hardware-config > hardware-configuration.nix { config, lib, pkgs, modulesPath, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "sr_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; fileSystems."/" = { device = "/dev/disk/by-uuid/11111111-1111-1111-1111-111111111111"; fsType = "ext4"; }; swapDevices = [ ]; }