more openhab features

This commit is contained in:
soraefir
2026-05-21 22:15:47 +02:00
parent 57bcf4d33c
commit dcd998830c

View File

@@ -24,13 +24,18 @@ in {
OPENHAB_HTTP_PORT = "8080";
};
extraOptions = [
# "--network=host"
"--network=host"
"--net=host"
"--cap-add=NET_ADMIN"
"--cap-add=NET_RAW"
"--no-healthcheck"
];
overrides = {
volumes = [
"${serverCfg.configPath}/openhab/conf:/openhab/conf"
"${serverCfg.configPath}/openhab/userdata:/openhab/userdata"
"${serverCfg.configPath}/openhab/addons:/opt/openhab/addons"
"/var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket:ro"
];
};
};