Fix for "Could not initialize GLX" error.

There is an issue with nixpkg's QT setup that causes leads to a GLX
initialization error and a segfault. This is a work around until the
issue is resolved.

See
- https://github.com/NixOS/nixpkgs/issues/85866
- https://github.com/NixOS/nixpkgs/issues/82959#issuecomment-657306112
This commit is contained in:
James Patrick 2022-07-16 11:00:43 -04:00
parent 3285dbdd7b
commit 5fc72bd6d4

View File

@ -25,8 +25,8 @@ in with lib; {
Service = { Service = {
Type = "simple"; Type = "simple";
Description = "Nextcloud - A slightly more GNU friendly dropbox"; ExecStart = "${pkgs.nextcloud-client}/bin/nextcloud --background";
ExecStart = "${pkgs.nextcloud-client}/bin/nextclient --background"; Environment = "QT_XCB_GL_INTEGRATION=none";
Restart = "on-failure"; Restart = "on-failure";
RestartSec = 1; RestartSec = 1;
TimeoutStopSec = 10; TimeoutStopSec = 10;