From 43d6c89dd68a6c2cda969d716ff381bd47c0545d Mon Sep 17 00:00:00 2001 From: lassulus Date: Thu, 16 Feb 2017 13:15:58 +0100 Subject: l 2 screenlock: use DISPLAY :0 --- lass/2configs/screenlock.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lass') diff --git a/lass/2configs/screenlock.nix b/lass/2configs/screenlock.nix index 237127f69..b5bc4ee2a 100644 --- a/lass/2configs/screenlock.nix +++ b/lass/2configs/screenlock.nix @@ -5,7 +5,7 @@ before = [ "sleep.target" ]; wantedBy = [ "sleep.target" ]; environment = { - DISPLAY = ":${toString config.services.xserver.display}"; + DISPLAY = ":0"; }; serviceConfig = { SyslogIdentifier = "screenlock"; -- cgit v1.2.3