diff --git a/nixos/machines/adele.nix b/nixos/machines/adele.nix index fb614389..edf3912a 100644 --- a/nixos/machines/adele.nix +++ b/nixos/machines/adele.nix @@ -11,12 +11,23 @@ hardware.enableRedistributableFirmware = true; + boot.kernelPatches = [{ + name = "enable-soundwire-drivers"; + patch = null; + extraConfig = '' + SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES y + SND_SOC_INTEL_SOUNDWIRE_SOF_MACH m + SND_SOC_RT1308 m + ''; + ignoreConfigErrors = true; + }]; + boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; boot.kernelPackages = pkgs.linuxPackages_latest; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; - boot.extraModulePackages = with config.boot.kernelPackages; [ soundwire-dkms ]; + boot.extraModulePackages = with config.boot.kernelPackages; [ ]; boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true;