diff options
author | lassulus <lassulus@lassul.us> | 2021-03-19 09:19:54 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-03-19 09:19:54 +0100 |
commit | 95ab9a7af06d56c3f02a2246b8eee8a589ed3f0c (patch) | |
tree | d6ffff9d9694f193649f08863dff06dbecb50eee /tv/2configs/pulse.nix | |
parent | 86b458d5d3aaac94d51b0a860376725c0a70b6fb (diff) | |
parent | f956b05cf1fbafd022fe2f0199e9524cd6efbe85 (diff) |
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'tv/2configs/pulse.nix')
-rw-r--r-- | tv/2configs/pulse.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tv/2configs/pulse.nix b/tv/2configs/pulse.nix index ea3970152..79c31e9ec 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 |