modprobe service: drop kmod wrapper

This commit is contained in:
Nikolay Amiantov
2016-08-19 17:56:49 +03:00
parent ff22705793
commit 5ff6e98486
7 changed files with 8 additions and 43 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ in
LimitNPROC = 1048576;
} // proxy_env;
path = [ config.system.sbin.modprobe ] ++ (optional (cfg.storageDriver == "zfs") pkgs.zfs);
path = [ pkgs.kmod ] ++ (optional (cfg.storageDriver == "zfs") pkgs.zfs);
environment.MODULE_DIR = "/run/current-system/kernel-modules/lib/modules";
postStart = if cfg.socketActivation then "" else cfg.postStart;