diff options
-rw-r--r-- | programs/colima.nix | 3 |
1 files changed, 3 insertions, 0 deletions
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" ] '' |