colima: set $DOCKER_HOST for default context in 26.05

This commit is contained in:
Utkarsh Gupta 2026-02-20 12:02:43 +00:00 committed by Austin Horstman
parent 91920e955f
commit 221046764c

View file

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