* Synced with trunk @ 15369

also adding missing assertion fixed in 15609

svn path=/nixos/branches/modular-nixos/; revision=15610
This commit is contained in:
Marc Weber 2009-05-15 07:51:51 +00:00
parent ecff4f580c
commit 1e16e6dee4

View File

@ -465,6 +465,9 @@ let
in
mkIf cfg.enable {
assertions = [ { assertion = config.services.hal.enable == true; message = "The X server needs HAL running. Set services.hal.enable to true"; } ];
require = [
options
@ -530,7 +533,7 @@ mkIf cfg.enable {
extraJobs = [{
name = "xserver";
job = ''
start on ${if cfg.autorun then "network-interfaces" else "never"}
start on ${if cfg.autorun then "hal" else "never"}
start script