aboutsummaryrefslogtreecommitdiffstats
path: root/modules/home/zsh.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home/zsh.nix')
-rw-r--r--modules/home/zsh.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/home/zsh.nix b/modules/home/zsh.nix
index 49e13ae..73e4b93 100644
--- a/modules/home/zsh.nix
+++ b/modules/home/zsh.nix
@@ -159,7 +159,7 @@ in
".config/zsh/extras".text = ''
if [[ "$(uname)" == "Darwin" ]]; then
- export DOCKER_HOST="unix://$HOME/.colima/default/docker.sock"
+ export DOCKER_HOST="unix://''${XDG_CONFIG_HOME:-$HOME/.config}/colima/default/docker.sock"
export TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE=/var/run/docker.sock
fi