Enable BuildKit by default in docker
This commit is contained in:
parent
e7945e9493
commit
84db80d868
1 changed files with 6 additions and 3 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue