summaryrefslogtreecommitdiffstats
path: root/lass/3modules/screenlock.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2017-12-05 18:46:48 +0100
committerlassulus <lassulus@lassul.us>2017-12-05 18:46:48 +0100
commit8030352c450432a0cee14f561241831875f8399b (patch)
tree832fc539497da14ec7d90e1540cb8093ca63cfbd /lass/3modules/screenlock.nix
parent18fad9c618be468d3a8e902ee2e23143e598163c (diff)
parent704096c93e91f0b71d257028401b52d6da03c073 (diff)
Merge branch 'prism/master' into HEAD
Diffstat (limited to 'lass/3modules/screenlock.nix')
-rw-r--r--lass/3modules/screenlock.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lass/3modules/screenlock.nix b/lass/3modules/screenlock.nix
index 06ca1f27d..e16ce9868 100644
--- a/lass/3modules/screenlock.nix
+++ b/lass/3modules/screenlock.nix
@@ -23,7 +23,7 @@ let
before = [ "sleep.target" ];
wantedBy = [ "sleep.target" ];
environment = {
- DISPLAY = ":0";
+ DISPLAY = ":${toString config.services.xserver.display}";
};
serviceConfig = {
SyslogIdentifier = "screenlock";