Update modules/server/containers/apps/openhab.nix
This commit is contained in:
@@ -7,9 +7,9 @@ in {
|
|||||||
sops = false;
|
sops = false;
|
||||||
db = false;
|
db = false;
|
||||||
paths = [
|
paths = [
|
||||||
{ path="${serverCfg.configPath}/openhab/conf"; owner="1000:1000"; mode = "0755"; }
|
{ path="${serverCfg.path.config}/openhab/conf"; owner="1000:1000"; mode = "0755"; }
|
||||||
{ path="${serverCfg.configPath}/openhab/userdata"; owner="1000:1000"; mode = "0755"; }
|
{ path="${serverCfg.path.config}/openhab/userdata"; owner="1000:1000"; mode = "0755"; }
|
||||||
{ path="${serverCfg.configPath}/openhab/addons"; owner="1000:1000"; mode = "0755"; }
|
{ path="${serverCfg.path.config}/openhab/addons"; owner="1000:1000"; mode = "0755"; }
|
||||||
];
|
];
|
||||||
|
|
||||||
containers = {
|
containers = {
|
||||||
@@ -31,9 +31,9 @@ in {
|
|||||||
];
|
];
|
||||||
overrides = {
|
overrides = {
|
||||||
volumes = [
|
volumes = [
|
||||||
"${serverCfg.configPath}/openhab/conf:/openhab/conf"
|
"${serverCfg.path.config}/openhab/conf:/openhab/conf"
|
||||||
"${serverCfg.configPath}/openhab/userdata:/openhab/userdata"
|
"${serverCfg.path.config}/openhab/userdata:/openhab/userdata"
|
||||||
"${serverCfg.configPath}/openhab/addons:/opt/openhab/addons"
|
"${serverCfg.path.config}/openhab/addons:/opt/openhab/addons"
|
||||||
"/var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket:ro"
|
"/var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket:ro"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user