about summary refs log tree commit diff
path: root/nixos/modules/hardware/video/webcam/facetimehd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/hardware/video/webcam/facetimehd.nix')
-rw-r--r--nixos/modules/hardware/video/webcam/facetimehd.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/hardware/video/webcam/facetimehd.nix b/nixos/modules/hardware/video/webcam/facetimehd.nix
index d311f600c3197..2a2fcf3057d4d 100644
--- a/nixos/modules/hardware/video/webcam/facetimehd.nix
+++ b/nixos/modules/hardware/video/webcam/facetimehd.nix
@@ -36,6 +36,7 @@ in
 
     # and load it back on resume
     powerManagement.resumeCommands = ''
+      export MODULE_DIR=/run/current-system/kernel-modules/lib/modules
       ${pkgs.kmod}/bin/modprobe -v facetimehd
     '';