* If kdm is enabled, disabled slim automatically. This is so that

users don't have to write

    services.xserver.displayManager.kdm.enable = true;
    services.xserver.displayManager.slim.enable = false;

  to enable kdm, but just

    services.xserver.displayManager.kdm.enable = true;


svn path=/nixos/trunk/; revision=23033
This commit is contained in:
Eelco Dolstra 2010-08-08 12:39:00 +00:00
parent e8e7ee356c
commit 622a7d3d46
2 changed files with 4 additions and 0 deletions

View file

@ -19,6 +19,7 @@ in
];
options = {
services.xserver.desktopManager = {
session = mkOption {
@ -63,6 +64,7 @@ in
};
};
};
config = {

View file

@ -92,6 +92,8 @@ in
###### implementation
config = mkIf cfg.enable {
services.xserver.displayManager.slim.enable = false;
services.xserver.displayManager.job =
{ execCmd =