summary refs log tree commit diff
path: root/nixos/modules/hardware/video
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-08-14 13:01:14 +0300
committerNikolay Amiantov <ab@fmap.me>2016-08-19 17:56:54 +0300
commit6b41f1132c0dab25d98a74c28aafdc524131d0f5 (patch)
tree45a72be534c565dc9d296c629546ced153e26f6b /nixos/modules/hardware/video
parent5ff6e98486adb1a3ff3f705bdc43216d3a885d73 (diff)
downloadnixlib-6b41f1132c0dab25d98a74c28aafdc524131d0f5.tar
nixlib-6b41f1132c0dab25d98a74c28aafdc524131d0f5.tar.gz
nixlib-6b41f1132c0dab25d98a74c28aafdc524131d0f5.tar.bz2
nixlib-6b41f1132c0dab25d98a74c28aafdc524131d0f5.tar.lz
nixlib-6b41f1132c0dab25d98a74c28aafdc524131d0f5.tar.xz
nixlib-6b41f1132c0dab25d98a74c28aafdc524131d0f5.tar.zst
nixlib-6b41f1132c0dab25d98a74c28aafdc524131d0f5.zip
nixos treewide: don't set MODULE_DIR
Diffstat (limited to 'nixos/modules/hardware/video')
-rw-r--r--nixos/modules/hardware/video/bumblebee.nix1
-rw-r--r--nixos/modules/hardware/video/webcam/facetimehd.nix1
2 files changed, 0 insertions, 2 deletions
diff --git a/nixos/modules/hardware/video/bumblebee.nix b/nixos/modules/hardware/video/bumblebee.nix
index b10846ac18a1..69db518ab21c 100644
--- a/nixos/modules/hardware/video/bumblebee.nix
+++ b/nixos/modules/hardware/video/bumblebee.nix
@@ -75,7 +75,6 @@ in
       serviceConfig = {
         ExecStart = "${bumblebee}/bin/bumblebeed --use-syslog -g ${cfg.group} --driver ${cfg.driver}";
       };
-      environment.MODULE_DIR="/run/current-system/kernel-modules/lib/modules/";
     };
   };
 }
diff --git a/nixos/modules/hardware/video/webcam/facetimehd.nix b/nixos/modules/hardware/video/webcam/facetimehd.nix
index 2a2fcf3057d4..d311f600c319 100644
--- a/nixos/modules/hardware/video/webcam/facetimehd.nix
+++ b/nixos/modules/hardware/video/webcam/facetimehd.nix
@@ -36,7 +36,6 @@ 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
     '';