1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00

Merge pull request #17087 from j1r1k/pulseaudio-extraClientConf

pulseaudio module: add extraClientConf option
This commit is contained in:
Joachim F 2016-07-24 15:52:01 +02:00 committed by GitHub
commit 0050338610

View file

@ -27,6 +27,7 @@ let
clientConf = writeText "client.conf" ''
autospawn=${if nonSystemWide then "yes" else "no"}
${optionalString nonSystemWide "daemon-binary=${cfg.package.out}/bin/pulseaudio"}
${cfg.extraClientConf}
'';
# Write an /etc/asound.conf that causes all ALSA applications to
@ -96,6 +97,14 @@ in {
'';
};
extraClientConf = mkOption {
type = types.str;
default = "";
description = ''
Extra configuration appended to pulse/client.conf file.
'';
};
package = mkOption {
type = types.package;
default = pulseaudioLight;