From 71f618dd67d24dea4e46e0490b7d593bcb3ecc40 Mon Sep 17 00:00:00 2001 From: Julian Mutter Date: Thu, 1 Aug 2024 08:46:43 +0200 Subject: [PATCH] aspi: fix soundcard not detected --- systems/x86_64-linux/aspi/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/systems/x86_64-linux/aspi/default.nix b/systems/x86_64-linux/aspi/default.nix index b3002e4..25cb464 100644 --- a/systems/x86_64-linux/aspi/default.nix +++ b/systems/x86_64-linux/aspi/default.nix @@ -158,7 +158,7 @@ # or use this # console.useXkbConfig = true; - # Enable sound with pipewire. + # Enable sound with pipewire and alsa sound.enable = true; hardware.pulseaudio.enable = false; security.polkit.enable = true; @@ -197,6 +197,9 @@ }; }; + # needed only on aspi, otherwise soundcard is not detected + boot.kernelParams = [ "snd-intel-dspcfg.dsp_driver=1" ]; + # Define a user account. Don't forget to set a password with ‘passwd’. users.users.julian = { isNormalUser = true; @@ -208,6 +211,7 @@ "networkmanager" "wheel" "docker" + "audio" ]; };