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 = { virtualisation.podman = {
enable = true; enable = true;
dockerCompat = true;
dockerSocket.enable = true;
extraPackages = [pkgs.zfs]; extraPackages = [pkgs.zfs];
}; };

View File

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