aboutsummaryrefslogtreecommitdiffstats
path: root/modules/home/zsh.nix
diff options
context:
space:
mode:
authorSimen A. W. Olsen <hello@simenandre.no>2026-04-01 11:33:31 +0200
committerSimen A. W. Olsen <hello@simenandre.no>2026-04-01 11:33:31 +0200
commit2d36d5fb4ef568e82149d081e5feb480d4e89393 (patch)
tree68803b049e61edc4b91662189a2769b8826e1c2a /modules/home/zsh.nix
parent1199e49a7d6b47d0545790d39a4cba9e05a9e912 (diff)
downloaddotfiles-2d36d5fb4ef568e82149d081e5feb480d4e89393.tar.gz
dotfiles-2d36d5fb4ef568e82149d081e5feb480d4e89393.zip
feat: set DOCKER_HOST for colima on macOS
Diffstat (limited to 'modules/home/zsh.nix')
-rw-r--r--modules/home/zsh.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/home/zsh.nix b/modules/home/zsh.nix
index 3154e8a..cd77c63 100644
--- a/modules/home/zsh.nix
+++ b/modules/home/zsh.nix
@@ -135,6 +135,10 @@ in
'';
".config/zsh/extras".text = ''
+ if [[ "$(uname)" == "Darwin" ]]; then
+ export DOCKER_HOST="unix://$HOME/.colima/default/docker.sock"
+ fi
+
NOTES_DIR=$HOME/ghq/github.com/simenandre/notes/
function note() {
if [ $1 ]; then