Modules/Docker: Add option to use docker buildkit
This commit is contained in:
@ -10,7 +10,7 @@ in {
|
||||
|
||||
config = lib.mkIf docker.enable {
|
||||
environment.variables = lib.mkMerge [
|
||||
(lib.mkIf (!docker.podman) {
|
||||
(lib.mkIf ((!docker.podman) && docker.buildkit) {
|
||||
DOCKER_BUILDKIT = 1;
|
||||
})
|
||||
];
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
podman = lib.mkEnableOption "Use podman instead of docker";
|
||||
docker.rootless = lib.mkEnableOption "Use rootless docker (no effect if podman is used)";
|
||||
docker.buildkit = lib.mkEnableOption "Use Docker BuildKit (no effect if podman is used)";
|
||||
|
||||
networks = lib.mkOption {
|
||||
type = lib.types.listOf (lib.types.submodule ({
|
||||
|
Reference in New Issue
Block a user