mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
* Improve some job names.
svn path=/nixos/trunk/; revision=33215
This commit is contained in:
parent
ee6c9bb998
commit
ed436179e1
@ -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;
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user