Making Tutanota work in NixOS


I’m trying to get Tutanota Desktop to work. There are two ways of making it work: the first one is through the official nixpkgs and the second is through the .appimage that Tutanota provides. Either solution works for me at the moment.

Since I have two separate ways of dealing with Tutanota, I’ll describe each problem separately:

Tutanota Desktop through configuration.nix

My configuration has Tutanota installed. However, the vast majority of the time, when I click on the app through the Gnome interface, I get absolutely nothing. There is no response. It just never launches.

Sometimes it does launch, and it complains about being out of date so much that it will not log me in. I imagine this particular problem (the problem that happens when Tutanota Desktop does launch) is something I can bring up to the maintainers of the nix package.

While talking to the maintainers solves the lanching problem, it doesn’t necessarily solve the “rarely launching” problem. What can I do?

Tutanota Desktop through the .appimage

This problem is different. I currently have the appimage in my home directory. If I run appimage-run tutanota-desktop-linx.AppImage I get the following error:

[agua@nixos:~]$ appimage-run tutanota-desktop-linux.AppImage 
tutanota-desktop-linux.AppImage installed in /home/agua/.cache/appimage-run/7162bde45dffcd1c8ab767cdfee37f75f0cd9d2897809aba9a51a3b43dd6ed56
A JavaScript error occurred in the main process
Uncaught Exception:
Error: cannot open shared object file: No such file or directory
    at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:1822)
    at Module._extensions..node (node:internal/modules/cjs/loader:1326:18)
    at Object.func [as .node] (node:electron/js2c/asar_bundle:2:2049)
    at Module.load (node:internal/modules/cjs/loader:1096:32)
    at Module._load (node:internal/modules/cjs/loader:937:12)
    at f._load (node:electron/js2c/asar_bundle:2:13330)
    at Module.require (node:internal/modules/cjs/loader:1120:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at Object.<anonymous> (/home/agua/.cache/appimage-run/7162bde45dffcd1c8ab767cdfee37f75f0cd9d2897809aba9a51a3b43dd6ed56/resources/app.asar/desktop/DesktopMain.js:1:431557)
    at Module._compile (node:internal/modules/cjs/loader:1241:14)

Do you know how I could troubleshoot or solve this?


I can launch the Nix package from the command line without a problem.
What happens if you start it from the command line? Do you experience the same problem as when starting it from app launcher?

As for the appimage error I get the same but don’t know how to solve it.
At least one data point more :slight_smile: