mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
* Enable Grub support in kdm, i.e., the reboot menu option can be used
to directly boot into any of the Grub menu entries. This doesn't work yet though. Probably Grub needs some messing with the savedefault option. svn path=/nixos/trunk/; revision=17091
This commit is contained in:
parent
379778c385
commit
6ca8fa8949
@ -14,6 +14,9 @@ let
|
||||
[Shutdown]
|
||||
HaltCmd=${pkgs.upstart}/sbin/halt
|
||||
RebootCmd=${pkgs.upstart}/sbin/reboot
|
||||
${optionalString (config.boot.grubDevice != "") ''
|
||||
BootManager=Grub
|
||||
''}
|
||||
|
||||
[X-*-Core]
|
||||
Xrdb=${pkgs.xlibs.xrdb}/bin/xrdb
|
||||
@ -76,7 +79,7 @@ in
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
services.xserver.displayManager.job =
|
||||
{ execCmd = "${kdebase_workspace}/bin/kdm -config ${kdmrc}";
|
||||
{ execCmd = "PATH=${pkgs.grub}/sbin:$PATH ${kdebase_workspace}/bin/kdm -config ${kdmrc}";
|
||||
logsXsession = true;
|
||||
};
|
||||
|
||||
|
@ -384,7 +384,7 @@ in
|
||||
rm -f /tmp/.X0-lock
|
||||
'';
|
||||
|
||||
exec = "${cfg.displayManager.job.execCmd}";
|
||||
script = "${cfg.displayManager.job.execCmd}";
|
||||
};
|
||||
|
||||
services.xserver.displayManager.xserverArgs =
|
||||
|
Loading…
Reference in New Issue
Block a user