nixpkgs/nixos/modules/hardware
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
..
cpu nixos/microcode-amd: Update to early initrd loader 2015-03-25 14:44:36 -07:00
network intel2200BGFirmware: init at 3.1 2016-02-15 19:53:07 +01:00
video facetimehd: Only unload module if it is loaded 2016-04-23 09:37:01 -05:00
all-firmware.nix intel2200BGFirmware: init at 3.1 2016-02-15 19:53:07 +01:00
ksm.nix nixos/hardware: Add option to enable KSM. 2015-04-01 20:00:27 +02:00
opengl.nix opengl.extraPackages32: pkgsi686Linux in example 2016-03-26 00:50:56 +11:00
pcmcia.nix Rewrite ‘with pkgs.lib’ -> ‘with lib’ 2014-04-14 16:26:48 +02:00