about summary refs log tree commit diff
path: root/users/glittershark
diff options
context:
space:
mode:
Diffstat (limited to 'users/glittershark')
-rw-r--r--users/glittershark/system/system/machines/yeren.nix12
-rw-r--r--users/glittershark/system/system/modules/sound.nix2
2 files changed, 14 insertions, 0 deletions
diff --git a/users/glittershark/system/system/machines/yeren.nix b/users/glittershark/system/system/machines/yeren.nix
index c695608977be..eec5527a9f3c 100644
--- a/users/glittershark/system/system/machines/yeren.nix
+++ b/users/glittershark/system/system/machines/yeren.nix
@@ -33,6 +33,11 @@
     kernelParams = [
       "i915.preliminary_hw_support=1"
     ];
+
+    # https://bbs.archlinux.org/viewtopic.php?pid=1933643#p1933643
+    extraModprobeConfig = ''
+      options snd-intel-dspcfg dsp_driver=1
+    '';
   };
 
   fileSystems = {
@@ -63,6 +68,11 @@
     '';
   };
 
+  hardware.firmware = with pkgs; [
+    alsa-firmware
+    sof-firmware
+  ];
+
   hardware.opengl.extraPackages = with pkgs; [
     vaapiIntel
     vaapiVdpau
@@ -111,4 +121,6 @@
     load-module module-remap-source source_name=KompleteAudio6_2 source_properties=device.description=KompleteAudio6Input2 master=alsa_input.usb-Native_Instruments_Komplete_Audio_6_458E0FFD-00.multichannel-input remix=no channels=1 master_channel_map=front-right channel_map=mono
     load-module module-remap-sink sink_name=KompleteAudio6_12 sink_properties=device.description=KompleteAudio6_12 remix=no master=alsa_output.usb-Native_Instruments_Komplete_Audio_6_458E0FFD-00.analog-surround-21 channels=2 master_channel_map=front-left,front-right channel_map=front-left,front-right
   '';
+
+  services.fwupd.enable = true;
 }
diff --git a/users/glittershark/system/system/modules/sound.nix b/users/glittershark/system/system/modules/sound.nix
index 0d5ce3e318c3..15c8dd5e3f92 100644
--- a/users/glittershark/system/system/modules/sound.nix
+++ b/users/glittershark/system/system/modules/sound.nix
@@ -11,4 +11,6 @@
     pasystray
     pavucontrol
   ];
+
+  hardware.pulseaudio.package = pkgs.pulseaudioFull;
 }