summary refs log tree commit diff
path: root/nixos/modules/system/boot/modprobe.nix
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-08-14 13:01:14 +0300
committerNikolay Amiantov <ab@fmap.me>2016-08-16 00:19:25 +0300
commit1f639587729daf6c34535addbc35fd6e5c816ffc (patch)
tree2c9f6d40471e26eea0161294fe846bb32fe6a8ea /nixos/modules/system/boot/modprobe.nix
parentb2ebecd9e50471ec967ab9cdb2aba793d75cb747 (diff)
downloadnixlib-1f639587729daf6c34535addbc35fd6e5c816ffc.tar
nixlib-1f639587729daf6c34535addbc35fd6e5c816ffc.tar.gz
nixlib-1f639587729daf6c34535addbc35fd6e5c816ffc.tar.bz2
nixlib-1f639587729daf6c34535addbc35fd6e5c816ffc.tar.lz
nixlib-1f639587729daf6c34535addbc35fd6e5c816ffc.tar.xz
nixlib-1f639587729daf6c34535addbc35fd6e5c816ffc.tar.zst
nixlib-1f639587729daf6c34535addbc35fd6e5c816ffc.zip
nixos treewide: don't set MODULE_DIR
Diffstat (limited to 'nixos/modules/system/boot/modprobe.nix')
-rw-r--r--nixos/modules/system/boot/modprobe.nix2
1 files changed, 0 insertions, 2 deletions
diff --git a/nixos/modules/system/boot/modprobe.nix b/nixos/modules/system/boot/modprobe.nix
index 91f440535a48..b915a98d5375 100644
--- a/nixos/modules/system/boot/modprobe.nix
+++ b/nixos/modules/system/boot/modprobe.nix
@@ -63,8 +63,6 @@ with lib;
         echo ${pkgs.kmod}/bin/modprobe > /proc/sys/kernel/modprobe
       '';
 
-    environment.sessionVariables.MODULE_DIR = "/run/current-system/kernel-modules/lib/modules";
-
   };
 
 }