1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-30 06:59:45 +01:00

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
This commit is contained in:
Damien Cassou 2023-03-31 09:30:53 +02:00 committed by Robert Helgesson
parent d3fd3b9d69
commit 67b97020b6
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -46,6 +46,7 @@ in {
Service = {
ExecStart = "${cfg.package}/bin/copyq";
Restart = "on-failure";
Environment = [ "QT_QPA_PLATFORM=xcb" ];
};
Install = { WantedBy = [ cfg.systemdTarget ]; };