about summary refs log tree commit diff
path: root/nixos/modules/services/x11/display-managers/default.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-09-03 13:01:49 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-09-03 13:03:14 +0200
commitf223448d5d0fe07a939c6b67d01a2b6ab724c4cf (patch)
tree30f2d8ff29e02072425eba1056a85be3894b6d55 /nixos/modules/services/x11/display-managers/default.nix
parent882b2465c239d1fd9299ac4f94a9591327f043f3 (diff)
downloadnixlib-f223448d5d0fe07a939c6b67d01a2b6ab724c4cf.tar
nixlib-f223448d5d0fe07a939c6b67d01a2b6ab724c4cf.tar.gz
nixlib-f223448d5d0fe07a939c6b67d01a2b6ab724c4cf.tar.bz2
nixlib-f223448d5d0fe07a939c6b67d01a2b6ab724c4cf.tar.lz
nixlib-f223448d5d0fe07a939c6b67d01a2b6ab724c4cf.tar.xz
nixlib-f223448d5d0fe07a939c6b67d01a2b6ab724c4cf.tar.zst
nixlib-f223448d5d0fe07a939c6b67d01a2b6ab724c4cf.zip
Shorten inhibit message
This also makes it consistent with KDE's inhibit message.
Diffstat (limited to 'nixos/modules/services/x11/display-managers/default.nix')
-rw-r--r--nixos/modules/services/x11/display-managers/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/display-managers/default.nix b/nixos/modules/services/x11/display-managers/default.nix
index 98e36954712e..fc0803f2acaf 100644
--- a/nixos/modules/services/x11/display-managers/default.nix
+++ b/nixos/modules/services/x11/display-managers/default.nix
@@ -62,7 +62,7 @@ let
         if [ -z "$_INHIBITION_LOCK_TAKEN" ]; then
           export _INHIBITION_LOCK_TAKEN=1
           if ! ${config.systemd.package}/bin/loginctl show-session $XDG_SESSION_ID | grep -q '^RemoteHost='; then
-            exec ${config.systemd.package}/bin/systemd-inhibit --what=handle-lid-switch:handle-power-key --why="See NixOS configuration option 'services.xserver.displayManager.desktopManagerHandlesLidAndPower' for more information." "$0" "$sessionType"
+            exec ${config.systemd.package}/bin/systemd-inhibit --what=handle-lid-switch:handle-power-key --why="Desktop environment handles power events" "$0" "$sessionType"
           fi
         fi