diff options
author | Tuomas Tynkkynen <tuomas@tuxera.com> | 2016-04-22 10:40:57 +0300 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas@tuxera.com> | 2016-04-22 10:40:57 +0300 |
commit | 01854a850a7e62c6a4f1de7c4ca0f1c9d89841c8 (patch) | |
tree | 50d9531f27e58ce9dcbea28b5b42a375beeeda73 /nixos/modules/hardware | |
parent | d99eaf005c1f21fb190fb2aa3f8b2f63218829d8 (diff) |
treewide: Replace module_init_tools -> kmod
The former is deprecated and doesn't handle compressed kernel modules, so all current usages of it are broken.
Diffstat (limited to 'nixos/modules/hardware')
-rw-r--r-- | nixos/modules/hardware/video/webcam/facetimehd.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/hardware/video/webcam/facetimehd.nix b/nixos/modules/hardware/video/webcam/facetimehd.nix index b35709763b903..309cedca48bad 100644 --- a/nixos/modules/hardware/video/webcam/facetimehd.nix +++ b/nixos/modules/hardware/video/webcam/facetimehd.nix @@ -31,13 +31,13 @@ in # unload module during suspend/hibernate as it crashes the whole system powerManagement.powerDownCommands = '' - ${pkgs.module_init_tools}/bin/rmmod -f facetimehd + ${pkgs.kmod}/bin/rmmod -f facetimehd ''; # and load it back on resume powerManagement.resumeCommands = '' export MODULE_DIR=/run/current-system/kernel-modules/lib/modules - ${pkgs.module_init_tools}/bin/modprobe -v facetimehd + ${pkgs.kmod}/bin/modprobe -v facetimehd ''; }; |