diff options
author | Christian Segundo | 2024-02-27 22:38:19 +0100 |
---|---|---|
committer | Christian Segundo | 2024-02-27 22:38:19 +0100 |
commit | 8722bce86acc4d309f68b4a77d74ad0488f9eea2 (patch) | |
tree | 26edefed702231cdcce3a129bf50bba1f456fbf8 | |
parent | 3bb7d7f69136295f10b348a883edd3caa1c97569 (diff) | |
download | hm-extra-8722bce86acc4d309f68b4a77d74ad0488f9eea2.tar.gz |
export DOCKER_HOST
-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" ] '' |