summary refs log tree commit diff
path: root/nixos/modules/services/x11/display-managers
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2015-09-01 12:14:44 +0200
committerProfpatsch <mail@profpatsch.de>2015-09-01 12:14:44 +0200
commit44c12dc0ff131653f35fc63e97257bf089082c21 (patch)
treead6bb05af53efec6ddd8f04cc4fad819cf3a9e0b /nixos/modules/services/x11/display-managers
parentea7b5bb8b0462a01fc5288eb94dca0b0d779bd2b (diff)
downloadnixlib-44c12dc0ff131653f35fc63e97257bf089082c21.tar
nixlib-44c12dc0ff131653f35fc63e97257bf089082c21.tar.gz
nixlib-44c12dc0ff131653f35fc63e97257bf089082c21.tar.bz2
nixlib-44c12dc0ff131653f35fc63e97257bf089082c21.tar.lz
nixlib-44c12dc0ff131653f35fc63e97257bf089082c21.tar.xz
nixlib-44c12dc0ff131653f35fc63e97257bf089082c21.tar.zst
nixlib-44c12dc0ff131653f35fc63e97257bf089082c21.zip
`desktopManagerHandlesLidAndPower default `false`
Changes the option and explicitely sets it for each desktopManager.

Reasoning: Currently,
services.xserver.displayManager.desktopManagerHandlesLidAndPower is set
to true by default. This creates a problem for users without desktop
environments activated, since lid management simply doesn't work
(and they have to be lucky to find this option).

See issue #9671
Diffstat (limited to 'nixos/modules/services/x11/display-managers')
-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 991043d73c6d..98e36954712e 100644
--- a/nixos/modules/services/x11/display-managers/default.nix
+++ b/nixos/modules/services/x11/display-managers/default.nix
@@ -229,7 +229,7 @@ in
 
       desktopManagerHandlesLidAndPower = mkOption {
         type = types.bool;
-        default = true;
+        default = false;
         description = ''
           Whether the display manager should prevent systemd from handling
           lid and power events. This is normally handled by the desktop