diff options
author | Luca Bruno <lethalman88@gmail.com> | 2015-07-05 13:57:10 +0200 |
---|---|---|
committer | Luca Bruno <lethalman88@gmail.com> | 2015-07-05 13:57:23 +0200 |
commit | 6c8e6aaa24a94ed7cd7de5677e68fc353dad2603 (patch) | |
tree | e66f41becbdb552388c87858cd50ae8b990c2266 /nixos/modules/virtualisation | |
parent | af3d395cfe4666973e4cf4105a1b05b509ff1bab (diff) |
nixos docker: fix service and test
Diffstat (limited to 'nixos/modules/virtualisation')
-rw-r--r-- | nixos/modules/virtualisation/docker.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/virtualisation/docker.nix b/nixos/modules/virtualisation/docker.nix index 49170f2220bcc..ef9cc2280db74 100644 --- a/nixos/modules/virtualisation/docker.nix +++ b/nixos/modules/virtualisation/docker.nix @@ -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 |