avahi-browse: sandbox

This commit is contained in:
2024-07-04 19:15:33 +00:00
parent 1ae1d94d53
commit ca2ac89cec

View File

@@ -13,6 +13,9 @@
{ config, lib, ... }: { config, lib, ... }:
{ {
sane.programs.avahi = { sane.programs.avahi = {
sandbox.method = "bwrap";
sandbox.whitelistDbus = [ "system" ];
sandbox.net = "all"; #< otherwise it will show 'null' in place of each interface name.
}; };
services.avahi = lib.mkIf config.sane.programs.avahi.enabled { services.avahi = lib.mkIf config.sane.programs.avahi.enabled {
enable = true; enable = true;