aboutsummaryrefslogtreecommitdiff
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-19 17:56:54 +0300
commit6b41f1132c0dab25d98a74c28aafdc524131d0f5 (patch)
tree45a72be534c565dc9d296c629546ced153e26f6b /nixos/modules/system/boot/modprobe.nix
parent5ff6e98486adb1a3ff3f705bdc43216d3a885d73 (diff)
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";
-
};
}