mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
* Synced with trunk @ 15369
also adding missing assertion fixed in 15609 svn path=/nixos/branches/modular-nixos/; revision=15610
This commit is contained in:
parent
ecff4f580c
commit
1e16e6dee4
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user