nixos/pipewire: enable sound on alsa support
Otherwise sound.extraConfig has no effect.
This commit is contained in:
parent
6850681fa2
commit
53029a15cc
@ -79,6 +79,7 @@ in {
|
|||||||
services.udev.packages = [ pkgs.pipewire ];
|
services.udev.packages = [ pkgs.pipewire ];
|
||||||
|
|
||||||
# If any paths are updated here they must also be updated in the package test.
|
# 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 ''
|
sound.extraConfig = mkIf cfg.alsa.enable ''
|
||||||
pcm_type.pipewire {
|
pcm_type.pipewire {
|
||||||
libs.native = ${pkgs.pipewire.lib}/lib/alsa-lib/libasound_module_pcm_pipewire.so ;
|
libs.native = ${pkgs.pipewire.lib}/lib/alsa-lib/libasound_module_pcm_pipewire.so ;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user