Enable BuildKit by default in docker

This commit is contained in:
Erwin Boskma 2023-03-10 12:57:46 +01:00
parent e7945e9493
commit 84db80d868
Signed by: erwin
SSH key fingerprint: SHA256:Vw4O4qA0i5x65Y7yyjDpWDCSMSXAhqT4X7cJ3frdnLY

View file

@ -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;
};
};
};