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
|
in
|
||||||
{
|
{
|
||||||
options.eboskma.docker = {
|
options.eboskma.docker = {
|
||||||
enable = mkEnableOption "podman";
|
enable = mkEnableOption "docker";
|
||||||
enableNvidia = mkEnableOption "podman NVidia support";
|
enableNvidia = mkEnableOption "docker NVidia support";
|
||||||
enableTcpSocket = mkEnableOption "podman TCP socket";
|
# enableTcpSocket = mkEnableOption "docker TCP socket";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
@ -27,6 +27,9 @@ in
|
||||||
|
|
||||||
daemon.settings = {
|
daemon.settings = {
|
||||||
insecure-registries = config.virtualisation.containers.registries.insecure;
|
insecure-registries = config.virtualisation.containers.registries.insecure;
|
||||||
|
features = {
|
||||||
|
buildkit = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue