mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
feat(pulseaudio): use nixos module for network sink, publish via zeroconf
This commit is contained in:
@@ -19,12 +19,11 @@
|
||||
hardware.pulseaudio = {
|
||||
enable = true;
|
||||
systemWide = true;
|
||||
extraConfig = ''
|
||||
load-module ${toString [
|
||||
"module-native-protocol-tcp"
|
||||
"auth-ip-acl=127.0.0.1;10.243.2.0/24;192.168.0.0/16"
|
||||
]}
|
||||
'';
|
||||
tcp = {
|
||||
enable = true;
|
||||
anonymousClients.allowedIpRanges = [ "127.0.0.1" "10.243.2.0/24" "192.168.0.0/16" ];
|
||||
};
|
||||
zeroconf.publish.enable = true;
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [ 4713 ];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user