From 8722bce86acc4d309f68b4a77d74ad0488f9eea2 Mon Sep 17 00:00:00 2001 From: Christian Segundo Date: Tue, 27 Feb 2024 22:38:19 +0100 Subject: export DOCKER_HOST --- programs/colima.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'programs/colima.nix') diff --git a/programs/colima.nix b/programs/colima.nix index cfd4700..a3317a9 100644 --- a/programs/colima.nix +++ b/programs/colima.nix @@ -42,6 +42,9 @@ in in lib.mkIf cfg.enable { home.packages = [ cfg.package ]; + home.sessionVariables = { + DOCKER_HOST = "unix://${config.home.homeDirectory}/.colima/docker.sock"; + }; # because Colima writes to this file on startup home.activation.colimaConfig = lib.hm.dag.entryAfter [ "writeBoundary" ] '' -- cgit v1.2.3