commit 92c5a2b0c94d2b2bd75fada1d51475b9febd5c40 parent ff78ce276a7f226dda2741e4971423a1c5f48582 Author: Vincent Demeester <vincent@sbr.pm> Date: Sat, 6 Jun 2020 16:40:54 +0200 systems/wakasu: add virtualisation.containers Signed-off-by: Vincent Demeester <vincent@sbr.pm> Diffstat:
M | systems/wakasu.nix | | | 15 | ++++++++++++++- |
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/systems/wakasu.nix b/systems/wakasu.nix @@ -99,5 +99,18 @@ in ''; }; }; - + virtualisation.containers = { + enable = true; + registries = { + search = [ "registry.fedoraproject.org" "registry.access.redhat.com" "registry.centos.org" "docker.io" "quay.io" ]; + }; + policy = { + default = [{ type = "insecureAcceptAnything"; }]; + transports = { + docker-daemon = { + "" = [{ type = "insecureAcceptAnything"; }]; + }; + }; + }; + }; }