aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorSimen A. W. Olsen <hello@simenandre.no>2026-09-01 19:15:55 +0200
committerSimen A. W. Olsen <hello@simenandre.no>2026-09-01 19:15:55 +0200
commite74e1c695c13b810732c31f95b7e662c00236d12 (patch)
treef635159c14e9c0612432a4277b2b1426613a6fa7 /modules
parentc06fcee3d298dab15853b2841955a986fc5ebdbc (diff)
downloaddotfiles-e74e1c695c13b810732c31f95b7e662c00236d12.tar.gz
dotfiles-e74e1c695c13b810732c31f95b7e662c00236d12.zip
fix(home): point DOCKER_HOST at colima's XDG socket path
Colima moved its state dir from ~/.colima to ~/.config/colima.
Diffstat (limited to 'modules')
-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