diff --git a/nixos/modules/services/desktops/pipewire.nix b/nixos/modules/services/desktops/pipewire.nix index c4923cfd3f00..f08b5cc19b7f 100644 --- a/nixos/modules/services/desktops/pipewire.nix +++ b/nixos/modules/services/desktops/pipewire.nix @@ -79,6 +79,7 @@ in { services.udev.packages = [ pkgs.pipewire ]; # If any paths are updated here they must also be updated in the package test. + sound.enable = mkIf cfg.alsa.enable true; sound.extraConfig = mkIf cfg.alsa.enable '' pcm_type.pipewire { libs.native = ${pkgs.pipewire.lib}/lib/alsa-lib/libasound_module_pcm_pipewire.so ;