summaryrefslogtreecommitdiffstats
path: root/lass/2configs/copyq.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2017-12-03 23:13:01 +0100
committerlassulus <lassulus@lassul.us>2017-12-03 23:13:01 +0100
commit0aba986658bbf743902881f771dc9c0da30d8fe0 (patch)
treeaa924bfe16749d7f43e3f0bfed613e85189e7ea8 /lass/2configs/copyq.nix
parent4c50faee7eab3580d96e2c1df05d0504612a4447 (diff)
l copyq: get DISPLAY from xserver.display
Diffstat (limited to 'lass/2configs/copyq.nix')
-rw-r--r--lass/2configs/copyq.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/lass/2configs/copyq.nix b/lass/2configs/copyq.nix
index fa01a99c9..cd10313fc 100644
--- a/lass/2configs/copyq.nix
+++ b/lass/2configs/copyq.nix
@@ -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