From 221046764c09d3ebe0f820f79d415a9ffde29a2d Mon Sep 17 00:00:00 2001 From: Utkarsh Gupta Date: Fri, 20 Feb 2026 12:02:43 +0000 Subject: [PATCH] colima: set $DOCKER_HOST for default context in 26.05 --- modules/services/colima.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/modules/services/colima.nix b/modules/services/colima.nix index 0c3b2276..29a8dd6f 100644 --- a/modules/services/colima.nix +++ b/modules/services/colima.nix @@ -58,8 +58,18 @@ in default = { isActive = true; isService = true; + setDockerHost = lib.versionAtLeast config.home.stateVersion "26.05"; }; }; + defaultText = lib.literalExpression '' + { + default = { + isActive = true; + isService = true; + setDockerHost = lib.versionAtLeast config.home.stateVersion "26.05"; + }; + }; + ''; description = '' Profiles allow multiple colima configurations. The default profile is active by default. If you have used colima before, you may need to delete existing configuration using `colima delete` or use a different profile. @@ -72,6 +82,7 @@ in default = { isActive = true; isService = true; + setDockerHost = true; }; rosetta = { isService = true;