summary refs log tree commit diff
path: root/nixos/modules/services/hardware/tlp.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/services/hardware/tlp.nix
parent5ff6e98486adb1a3ff3f705bdc43216d3a885d73 (diff)
downloadnixpkgs-6b41f1132c0dab25d98a74c28aafdc524131d0f5.tar
nixpkgs-6b41f1132c0dab25d98a74c28aafdc524131d0f5.tar.gz
nixpkgs-6b41f1132c0dab25d98a74c28aafdc524131d0f5.tar.bz2
nixpkgs-6b41f1132c0dab25d98a74c28aafdc524131d0f5.tar.lz
nixpkgs-6b41f1132c0dab25d98a74c28aafdc524131d0f5.tar.xz
nixpkgs-6b41f1132c0dab25d98a74c28aafdc524131d0f5.tar.zst
nixpkgs-6b41f1132c0dab25d98a74c28aafdc524131d0f5.zip
nixos treewide: don't set MODULE_DIR
Diffstat (limited to 'nixos/modules/services/hardware/tlp.nix')
-rw-r--r--nixos/modules/services/hardware/tlp.nix4
1 files changed, 0 insertions, 4 deletions
diff --git a/nixos/modules/services/hardware/tlp.nix b/nixos/modules/services/hardware/tlp.nix
index 5ab7daafa85..281d02a8c65 100644
--- a/nixos/modules/services/hardware/tlp.nix
+++ b/nixos/modules/services/hardware/tlp.nix
@@ -72,8 +72,6 @@ in
           ExecStart = "${tlp}/bin/tlp init start";
           ExecStop = "${tlp}/bin/tlp init stop";
         };
-
-        environment.MODULE_DIR="/run/current-system/kernel-modules/lib/modules/";
       };
 
       tlp-sleep = {
@@ -92,8 +90,6 @@ in
           ExecStart = "${tlp}/bin/tlp suspend";
           ExecStop = "${tlp}/bin/tlp resume";
         };
-
-        environment.MODULE_DIR="/run/current-system/kernel-modules/lib/modules/";
       };
     };