mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
8d731dacad
- Set the desktop background to the image ~/.background-image. - Depending on services.xserver.sessionType, start an xterm or a gnome-terminal as the "desktop" :-) * Upstart jobs can now declare extra packages to be added to the system path through the `extraPath' attribute. For instance, the ALSA job adds alsa-utils, and the X server job adds lots of stuff depending on the X configuration (e.g., xrandr, gnome-terminal, twm). * Create a cdrom/dvd symlink for SCSI sr? devices. svn path=/nixos/trunk/; revision=8221
14 lines
291 B
Nix
14 lines
291 B
Nix
{runCommand}: job:
|
|
|
|
(
|
|
runCommand job.name {inherit (job) job;}
|
|
"ensureDir $out/etc/event.d; echo \"$job\" > $out/etc/event.d/$name"
|
|
)
|
|
|
|
//
|
|
|
|
# Allow jobs to declare extra packages that should be added to the
|
|
# system path.
|
|
{
|
|
extraPath = if job ? extraPath then job.extraPath else [];
|
|
} |