mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
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 ];
|
||||
|
||||
# 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 New Issue
Block a user