Merge pull request #9590 from Profpatsch/dm-lid-management

`desktopManagerHandlesLidAndPower default `false`
This commit is contained in:
lethalman 2015-09-01 13:50:27 +02:00
commit 379790183d
7 changed files with 8 additions and 2 deletions

View File

@ -0,0 +1 @@
Each desktop manager should explicitly specify a value for `services.xserver.displayManager.desktopManagerHandlesLidAndPower`.

View File

@ -62,6 +62,7 @@ in
waitPID=$!
'';
}];
services.xserver.displayManager.desktopManagerHandlesLidAndPower = true;
security.setuidPrograms = [ "e19_freqset" ];

View File

@ -111,6 +111,7 @@ in
exec ${kde_workspace}/bin/startkde
'';
};
services.xserver.displayManager.desktopManagerHandlesLidAndPower = true;
security.setuidOwners = singleton
{ program = "kcheckpass";

View File

@ -78,6 +78,7 @@ in
bgSupport = true;
start = ''exec ${plasma5.plasma-workspace}/bin/startkde;'';
};
services.xserver.displayManager.desktopManagerHandlesLidAndPower = true;
security.setuidOwners = singleton {
program = "kcheckpass";

View File

@ -25,7 +25,8 @@ in
waitPID=$!
'';
}];
services.xserver.displayManager.desktopManagerHandlesLidAndPower = true;
environment.systemPackages = [ pkgs.kodi ];
};
}
}

View File

@ -37,6 +37,7 @@ in
exec ${pkgs.stdenv.shell} ${pkgs.xfce.xinitrc}
'';
};
services.xserver.displayManager.desktopManagerHandlesLidAndPower = true;
environment.systemPackages =
[ pkgs.gtk # To get GTK+'s themes.

View File

@ -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