mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
* 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 = {
|
||||
|
|
|
@ -93,6 +93,8 @@ in
|
|||
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
services.xserver.displayManager.slim.enable = false;
|
||||
|
||||
services.xserver.displayManager.job =
|
||||
{ execCmd =
|
||||
(optionalString (config.system.boot.loader.id == "grub") "PATH=${config.system.build.grub}/sbin:$PATH ") +
|
||||
|
|
Loading…
Reference in a new issue