l copyq: get DISPLAY from xserver.display

This commit is contained in:
lassulus 2017-12-03 23:13:01 +01:00
parent 4c50faee7e
commit 0aba986658

View File

@ -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