nixpkgs-suyu/modules/services
Shea Levy 70378ad2b7 Add our firmware path to the in-kernel lookup path
Newer kernels (since torvalds/linux@abb139e75c) try to
read firmware directly from the filesystem before falling back to a
userspace helper (udev) if firmware cannot be found (in even newer
kernels, the fallback path can be disabled altogether). By default, only
certain paths in /lib/firmware* are searched, so this was initially not
helpful for NixOS.

Since torvalds/linux@2760284206 (which,
based on the commit message, was implemented just for NixOS, go us!),
though, an extra path can be dynamically prepended to the search path.
So do that, in three ways:

1. Pass a kernel command line option in case the module is built-in
2. Add a line to modprobe.conf in case the module isn't yet loaded by
activation-time
3. Add an activation script to set the option in /sys in case the module
is already loaded by activation-time.
2013-03-04 09:42:03 -05:00
..
amqp Add ActiveMQ service 2013-02-25 16:50:10 +01:00
audio mpd: Start service with exec 2013-02-28 19:26:19 +01:00
backup * Drop references to activation scriptlets that no longer exist. 2012-03-15 14:21:17 +00:00
databases mongodb: Add initialisation service 2013-02-25 09:04:31 +01:00
games strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
hardware Add our firmware path to the in-kernel lookup path 2013-03-04 09:42:03 -05:00
logging Rename ‘boot.systemd’ to ‘systemd’ 2013-01-16 12:33:18 +01:00
mail spamassassin: convert module to systemd 2013-01-24 18:37:25 +01:00
misc nix-daemon: Restart when nix.conf changes 2013-02-26 03:15:29 +01:00
monitoring dd-agent: Run as a separate user 2013-02-27 09:25:37 -05:00
network-filesystems Rename ‘boot.systemd’ to ‘systemd’ 2013-01-16 12:33:18 +01:00
networking default-websockify: Stop when reconfigured (i.e. new ports added/removed) 2013-02-18 11:55:46 -05:00
printing Add/fix systemd unit descriptions 2013-01-10 13:59:41 +01:00
scheduling Add/fix systemd unit descriptions 2013-01-10 13:59:41 +01:00
security Tor-privoxy: quick and dirty fix for activation under systemd 2013-02-10 20:29:17 +02:00
system Rename ‘boot.systemd’ to ‘systemd’ 2013-01-16 12:33:18 +01:00
torrent use ExecStart instead of script, this way we get rid of systemd wrapper scripts 2013-02-27 20:13:14 +01:00
ttys Rename ‘boot.systemd’ to ‘systemd’ 2013-01-16 12:33:18 +01:00
web-servers Add lighttpd web server module 2013-03-03 20:16:44 +01:00
x11 xfce: Set GTK_PATH to system.path/lib/gtk-2.0, so xfce can find all theme engines. 2013-03-04 10:51:33 +01:00