mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
nixos/pipewire: enable sound on alsa support
Otherwise sound.extraConfig has no effect.
This commit is contained in:
parent
6850681fa2
commit
53029a15cc
1 changed files with 1 additions and 0 deletions
|
@ -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 ;
|
||||
|
|
Loading…
Reference in a new issue