commit 20ddc9462d5f49de0a2cb059205be78d4efe799a
parent a8edb5b2b19d29cdb7eb929412661ebed50cef95
Author: Silas Brack <silasbrack@gmail.com>
Date: Fri, 12 Jun 2026 23:10:34 +0200
fix: use real path for bind mount (symlink not supported)
/var/lib/simple-web-app is a symlink to private/simple-web-app
with DynamicUser. BindPaths needs the real path.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/simple-web-app.nix b/modules/simple-web-app.nix
@@ -64,7 +64,7 @@ in
mkdir -p /var/lib/private/simple-web-app/data
'';
in "+${setupScript}";
- BindPaths = [ "/mnt/volume-hel1-1/simple-web-app/data:/var/lib/simple-web-app/data" ];
+ BindPaths = [ "/mnt/volume-hel1-1/simple-web-app/data:/var/lib/private/simple-web-app/data" ];
};
environment = {
PORT = builtins.toString cfg.port;