summaryrefslogtreecommitdiffstats
path: root/tv/2configs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2021-03-15 02:05:37 +0100
committertv <tv@krebsco.de>2021-03-15 02:05:37 +0100
commit4ecf2a1db88b1862a93c99a36683bf462a3ace22 (patch)
tree40f3d8628d10fb5e7d0fcf7d16f114d6d6011a2b /tv/2configs
parentec8d3e46af4b6db7a1c61b909d0aa9fa0321acfd (diff)
tv pulse: add au sink
Diffstat (limited to 'tv/2configs')
-rw-r--r--tv/2configs/pulse.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/tv/2configs/pulse.nix b/tv/2configs/pulse.nix
index ea39701..79c31e9 100644
--- a/tv/2configs/pulse.nix
+++ b/tv/2configs/pulse.nix
@@ -43,6 +43,21 @@ let
"auth-anonymous=1"
"socket=${runDir}/socket"
]}
+ ${lib.optionalString (config.krebs.build.host.name == "au") ''
+ load-module ${toString [
+ "module-native-protocol-tcp"
+ "auth-ip-acl=127.0.0.1;10.23.1.0/24"
+ ]}
+ ''}
+ ${lib.optionalString (config.krebs.build.host.name != "au") ''
+ load-module ${toString [
+ "module-tunnel-sink-new"
+ "server=au.hkw"
+ "sink_name=au"
+ "channels=2"
+ "rate=44100"
+ ]}
+ ''}
'';
in