diff --git a/modules/server/containers/apps/openhab.nix b/modules/server/containers/apps/openhab.nix index a881c76..9a68f60 100644 --- a/modules/server/containers/apps/openhab.nix +++ b/modules/server/containers/apps/openhab.nix @@ -7,19 +7,19 @@ in { sops = false; db = false; paths = [ - { path="${serverCfg.configPath}/openhab/conf"; owner="1000:1000"; mode = "0755"; } - { path="${serverCfg.configPath}/openhab/userdata"; owner="1000:1000"; mode = "0755"; } - { path="${serverCfg.configPath}/openhab/addons"; owner="1000:1000"; mode = "0755"; } + { path="${serverCfg.configPath}/openhab/conf"; owner="9001:9001"; mode = "0755"; } + { path="${serverCfg.configPath}/openhab/userdata"; owner="9001:9001"; mode = "0755"; } + { path="${serverCfg.configPath}/openhab/addons"; owner="9001:9001"; mode = "0755"; } ]; containers = { server = builder.mkContainer { subdomain = containerCfg.subdomain; - image = "openhab/openhab:${version}-debian"; + image = "openhab/openhab:${version}"; port = 8080; extraEnv = { - USER_ID = "1000"; - GROUP_ID = "1000"; + # USER_ID = "1000"; + # GROUP_ID = "1000"; CRYPTO_POLICY = "unlimited"; OPENHAB_HTTP_PORT = "8080"; };