* Improve some job names.

svn path=/nixos/trunk/; revision=33215
This commit is contained in:
Eelco Dolstra 2012-03-17 19:22:22 +00:00
parent ee6c9bb998
commit ed436179e1
2 changed files with 4 additions and 5 deletions

View File

@ -384,16 +384,15 @@ in
environment.pathsToLink =
[ "/etc/xdg" "/share/xdg" "/share/applications" "/share/icons" "/share/pixmaps" ];
jobs.check_for_xserver_start =
jobs."xserver-start-check" =
{ startOn = if cfg.autorun then "filesystem and stopped udevtrigger" else "";
stopOn = "";
task = true;
script = "grep -qv noX11 /proc/cmdline && initctl emit start_xserver || true";
script = "grep -qv noX11 /proc/cmdline && start xserver || true";
};
jobs.xserver =
{ startOn = "start_xserver";
environment =
{ environment =
{ FONTCONFIG_FILE = "/etc/fonts/fonts.conf"; # !!! cleanup
XKB_BINDIR = "${xorg.xkbcomp}/bin"; # Needed for the Xkb extension.
TZ = config.time.timeZone;

View File

@ -24,7 +24,7 @@ with pkgs.lib;
config = mkIf (config.powerManagement.scsiLinkPolicy != "") {
jobs.scsilinkpmpolicy =
jobs."scsi-link-pm" =
{ description = "Set SCSI link power management policy";
startOn = "started udev";