Skip to content

Build your personal knowledge base with Trilium Notes

fix(flake): set resourceDir explicitly

FliegendeWursta13e4d5d796c
diff --git a/flake.nix b/flake.nix
index 318d6e8308..53cf37765d 100644
--- a/flake.nix
+++ b/flake.nix
@@ -197,6 +197,7 @@
"''${gappsWrapperArgs[@]}" \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}}" \
--set-default ELECTRON_IS_DEV 0 \
+ --set TRILIUM_RESOURCE_DIR $out/opt/trilium \
--add-flags $out/opt/trilium/main.cjs
'';
};