modprobe service: drop kmod wrapper

This commit is contained in:
Nikolay Amiantov
2016-08-16 00:19:25 +03:00
parent 1afd250676
commit b2ebecd9e5
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;