* Use config.system.build.grub rather than pkgs.grub to get the right
GRUB when version 2 is enabled. svn path=/nixos/branches/boot-order/; revision=22479
This commit is contained in:
parent
4225181fa1
commit
da0d5c5645
@ -94,7 +94,9 @@ in
|
|||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
||||||
services.xserver.displayManager.job =
|
services.xserver.displayManager.job =
|
||||||
{ execCmd = "PATH=${pkgs.grub}/sbin:$PATH exec ${kdebase_workspace}/bin/kdm -config ${kdmrc} -nodaemon";
|
{ execCmd =
|
||||||
|
(optionalString (config.system.boot.loader.id == "grub") "PATH=${config.system.build.grub}/sbin:$PATH ") +
|
||||||
|
"exec ${kdebase_workspace}/bin/kdm -config ${kdmrc} -nodaemon";
|
||||||
logsXsession = true;
|
logsXsession = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user