From ce336d469afbdd66d9b91af5a4c6e5ce3c43cd3b Mon Sep 17 00:00:00 2001 From: Julian Mutter Date: Sun, 1 Sep 2024 12:00:42 +0200 Subject: [PATCH] Finally truly fix audio on aspi --- systems/x86_64-linux/aspi/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/systems/x86_64-linux/aspi/default.nix b/systems/x86_64-linux/aspi/default.nix index 25cb464..7e93f34 100644 --- a/systems/x86_64-linux/aspi/default.nix +++ b/systems/x86_64-linux/aspi/default.nix @@ -158,9 +158,6 @@ # or use this # console.useXkbConfig = true; - # Enable sound with pipewire and alsa - sound.enable = true; - hardware.pulseaudio.enable = false; security.polkit.enable = true; systemd = { @@ -180,6 +177,12 @@ }; # Sound + sound.enable = false; + hardware.pulseaudio.enable = false; + + # needed on aspi for audio to work properly + hardware.enableAllFirmware = true; + security.rtkit.enable = true; services.pipewire = { enable = true; @@ -197,9 +200,6 @@ }; }; - # 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;