nixpkgs/nixos/modules/hardware/video
Graham Christensen 788122c3c5 facetimehd: Only unload module if it is loaded
The pre-sleep service exits if any command fails. Unloading facetimehd
without it being loaded blocks subsequent commands from running.

Note: `modprobe -r` works a bit better when unloading unused modules,
and is preferrable to `rmmod`. However, the facetimehd module does not
support suspending. In this case, it seems preferable to forcefully
unload the module. `modprobe` does not support a `--force` flag when
removing, so we are left with `rmmod`.

See:
 - https://github.com/NixOS/nixpkgs/pull/14883
 - https://github.com/patjak/bcwc_pcie/wiki#known-issues
2016-04-23 09:37:01 -05:00
..
webcam facetimehd: Only unload module if it is loaded 2016-04-23 09:37:01 -05:00
ati.nix ati_unfree: Towards using ati unfree 32bit binary libs 2014-09-07 12:40:40 +10:00
bumblebee.nix nixos/bumblebee: update for new packages 2015-12-05 00:54:09 +03:00
nvidia.nix nvidia: allow using the beta driver, mainly in future 2016-03-07 23:33:17 +01:00
radeon.nix Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00