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:
@@ -113,6 +113,7 @@ in
|
||||
"AF_INET"
|
||||
"AF_INET6"
|
||||
"AF_NETLINK"
|
||||
"AF_UNIX"
|
||||
];
|
||||
RestrictNamespaces = true;
|
||||
RestrictRealtime = true;
|
||||
|
||||
Reference in New Issue
Block a user