l copyq: get DISPLAY from xserver.display
This commit is contained in:
parent
4c50faee7e
commit
0aba986658
@ -21,9 +21,9 @@ let
|
||||
in {
|
||||
systemd.services.copyq = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
requires = [ "display-manager.service" ];
|
||||
requires = [ "xserver.service" ];
|
||||
environment = {
|
||||
DISPLAY = ":0";
|
||||
DISPLAY = ":${toString config.services.xserver.display}";
|
||||
};
|
||||
path = with pkgs; [
|
||||
qt5.full
|
||||
|
Loading…
Reference in New Issue
Block a user