From 123d18d1e895afb9121c534fbba610f7edcca2e3 Mon Sep 17 00:00:00 2001 From: soraefir Date: Mon, 11 May 2026 02:29:11 +0200 Subject: [PATCH] fix --- modules/server/containers/apps/etherpad.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/server/containers/apps/etherpad.nix b/modules/server/containers/apps/etherpad.nix index 84e0151..0642776 100644 --- a/modules/server/containers/apps/etherpad.nix +++ b/modules/server/containers/apps/etherpad.nix @@ -71,8 +71,8 @@ let tag = etherpad_exe.version; contents = with pkgs;[cacert tzdata bash coreutils curl settings ]; fakeRootCommands = '' - mkdir -p ./tmp - chmod 1777 ./tmp + mkdir -p /opt /tmp + chmod 1777 /opt /tmp ''; config = { Cmd = [ "${etherpad_exe}/bin/etherpad-lite" "--settings=/etc/etherpad/settings.json" "--apikey=\"$APIKEY\""]; @@ -80,6 +80,7 @@ let ExposedPorts = { "${toString containerCfg.port}/tcp" = {}; }; Env = [ "NODE_ENV=production" + "HOME=/opt" ]; };