From 67b97020b6970d39b4126a7870063d11337ecb80 Mon Sep 17 00:00:00 2001 From: Damien Cassou Date: Fri, 31 Mar 2023 09:30:53 +0200 Subject: [PATCH] copyq: support xwayland We do this by adding QT_QPA_PLATFORM=xcb to the service environment as per the workaround given in https://copyq.readthedocs.io/en/latest/known-issues.html#known-issue-wayland Fixes #3530 --- modules/services/copyq.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/services/copyq.nix b/modules/services/copyq.nix index 3ce4adec2..1c6f94e57 100644 --- a/modules/services/copyq.nix +++ b/modules/services/copyq.nix @@ -46,6 +46,7 @@ in { Service = { ExecStart = "${cfg.package}/bin/copyq"; Restart = "on-failure"; + Environment = [ "QT_QPA_PLATFORM=xcb" ]; }; Install = { WantedBy = [ cfg.systemdTarget ]; };