Restrict pipewire TCP backend to localhost

This commit is contained in:
coolneng 2022-05-01 23:09:20 +02:00
parent b165ca7e1f
commit a20426c850
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 3 additions and 1 deletions

View File

@ -22,7 +22,9 @@ in {
defaultConf = lib.importJSON
"${inputs.nixpkgs}/nixos/modules/services/desktops/pipewire/daemon/pipewire-pulse.conf.json";
in lib.recursiveUpdate defaultConf {
"pulse.properties" = { "server.address" = [ "unix:native" "tcp:4713" ]; };
"pulse.properties" = {
"server.address" = [ "unix:native" "tcp:127.0.0.1:4713" ];
};
};
};
security.rtkit.enable = true;