podman: set CONTAINER_HOST at work

This commit is contained in:
Motiejus Jakštys 2024-05-21 09:24:33 +03:00
parent 38951e4b26
commit 486771af78
2 changed files with 6 additions and 2 deletions

View File

@ -100,8 +100,6 @@ in {
virtualisation.podman = {
enable = true;
dockerCompat = true;
dockerSocket.enable = true;
extraPackages = [pkgs.zfs];
};

View File

@ -58,10 +58,16 @@
Group = "clamav";
};
virtualisation.podman = {
dockerCompat = true;
dockerSocket.enable = true;
};
home-manager.users.${config.mj.username} = {
home.sessionVariables = {
GOFLAGS = "-tags=cluster_integration";
GOPRIVATE = "github.com/chronosphereio";
CONTAINER_HOST = "unix://run/podman/podman.sock";
BUILDKIT_COLORS = "run=123,20,245:error=yellow:cancel=blue:warning=white";
};
programs = {