nixos/zigbee2mqtt: add AF_UNIX to RestrictAddressFamilies

zigbee2mqtt supports listening on unix domain sockets, if a path is
specified in the `frontend.host` config key.

This currently fails with the following log message:

> zigbee2mqtt[4551]: Error: listen EAFNOSUPPORT: address family not supported /path/to/zigbee2mqtt.sock

Listening on unix domain sockets is a reasonable thing to have enabled,
so let's add it to the list.
This commit is contained in:
Florian Klink
2026-06-20 21:40:59 +03:00
parent fb997aaa21
commit 93c9f9cde4
@@ -113,6 +113,7 @@ in
"AF_INET"
"AF_INET6"
"AF_NETLINK"
"AF_UNIX"
];
RestrictNamespaces = true;
RestrictRealtime = true;