nixos docker: fix service and test

This commit is contained in:
Luca Bruno
2015-07-05 13:57:23 +02:00
parent af3d395cfe
commit 6c8e6aaa24
2 changed files with 5 additions and 2 deletions
+3
View File
@@ -103,6 +103,9 @@ in
LimitNPROC = 1048576;
} // proxy_env;
path = [ pkgs.kmod ];
environment.MODULE_DIR = "/run/current-system/kernel-modules/lib/modules";
postStart = ''
while ! [ -e /var/run/docker.sock ]; do
sleep 0.1