diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-08-14 13:01:14 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-08-19 17:56:54 +0300 |
commit | 6b41f1132c0dab25d98a74c28aafdc524131d0f5 (patch) | |
tree | 45a72be534c565dc9d296c629546ced153e26f6b /nixos/modules/hardware/video | |
parent | 5ff6e98486adb1a3ff3f705bdc43216d3a885d73 (diff) | |
download | nixlib-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.nix | 1 | ||||
-rw-r--r-- | nixos/modules/hardware/video/webcam/facetimehd.nix | 1 |
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 ''; |