audio.nix (571B)
1 { config, nixosConfig, lib, pkgs, ... }: 2 3 { 4 xdg.configFile = lib.mkIf nixosConfig.services.pipewire.wireplumber.enable { 5 "pipewire/pipewire.conf.d/raop-discover.conf" = { 6 text = '' 7 context.modules = [ 8 { 9 name = libpipewire-module-raop-discover 10 args = { } 11 } 12 ] 13 ''; 14 }; 15 "pipewire/pipewire.conf.d/zeroconf-discover.conf".text = '' 16 context.modules = [ 17 { 18 name = libpipewire-module-zeroconf-discover 19 args = { } 20 } 21 ] 22 ''; 23 }; 24 }