From 84db80d868184fea3d870ce39e3d770f3749b3f4 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Fri, 10 Mar 2023 12:57:46 +0100 Subject: [PATCH] Enable BuildKit by default in docker --- modules/docker/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/modules/docker/default.nix b/modules/docker/default.nix index 7b4fb55..645b8fa 100644 --- a/modules/docker/default.nix +++ b/modules/docker/default.nix @@ -8,9 +8,9 @@ with lib; let in { options.eboskma.docker = { - enable = mkEnableOption "podman"; - enableNvidia = mkEnableOption "podman NVidia support"; - enableTcpSocket = mkEnableOption "podman TCP socket"; + enable = mkEnableOption "docker"; + enableNvidia = mkEnableOption "docker NVidia support"; + # enableTcpSocket = mkEnableOption "docker TCP socket"; }; config = mkIf cfg.enable { @@ -27,6 +27,9 @@ in daemon.settings = { insecure-registries = config.virtualisation.containers.registries.insecure; + features = { + buildkit = true; + }; }; };