···99 ./hardware-configuration.nix
1010 ../../users/leah
11111212- # nixos-hardware does not yet have a specific configuration
1313- # for the XiaoXin Pro 14 GT (= IdeaPad Slim 14, model 14IAH10),
1414- # but it's very easy to cobble together what upstream has provided
1515- common-cpu-intel
1616- common-pc-laptop
1717- common-pc-laptop-ssd
1212+ lenovo-ideapad-14iah10
1813 ];
1919-2020- # Specific to Meteor Lake and above
2121- hardware.intelgpu.vaapiDriver = "intel-media-driver";
22142315 hardware.bluetooth.enable = true;
2416···2719 boot = {
2820 # FIXME: switch back to latest xanmod after 6.15.5
2921 kernelPackages = pkgs.linuxPackages_latest;
3030-3131- # DSP-based SOF drivers currently don't work due to missing topology
3232- # definitions, so we fall back to old snd_hda_intel drivers
3333- extraModprobeConfig = ''
3434- options snd-intel-dspcfg dsp_driver=1
3535- '';
3636-3737- # HACK HACK HACK: Disable PCIe Power Management to completely disallow
3838- # the Wi-Fi adapter from turning off. This will be problematic for
3939- # performance, but at least I would have working Wi-Fi after waking up
4040- # from a suspend.
4141- kernelParams = [ "pcie_port_pm=off" ];
4242-};
2222+ };
43234424 # Enable building and testing aarch64 packages for Nixpkgs dev
4525 boot.binfmt.emulatedSystems = [ "aarch64-linux" ];