* 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:
parent
e8e7ee356c
commit
622a7d3d46
2 changed files with 4 additions and 0 deletions
|
@ -19,6 +19,7 @@ in
|
|||
];
|
||||
|
||||
options = {
|
||||
|
||||
services.xserver.desktopManager = {
|
||||
|
||||
session = mkOption {
|
||||
|
@ -63,6 +64,7 @@ in
|
|||
};
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
config = {
|
||||
|
|
|
@ -92,6 +92,8 @@ in
|
|||
###### implementation
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
services.xserver.displayManager.slim.enable = false;
|
||||
|
||||
services.xserver.displayManager.job =
|
||||
{ execCmd =
|
||||
|
|
Loading…
Reference in a new issue