mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
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.
(cherry picked from commit 93c9f9cde4)
This commit is contained in:
committed by
github-actions[bot]
parent
accaeb8d84
commit
f40beec906
@@ -113,6 +113,7 @@ in
|
||||
"AF_INET"
|
||||
"AF_INET6"
|
||||
"AF_NETLINK"
|
||||
"AF_UNIX"
|
||||
];
|
||||
RestrictNamespaces = true;
|
||||
RestrictRealtime = true;
|
||||
|
||||
Reference in New Issue
Block a user