From 486771af78fcfd53ca3c089efbf3ba42cd936793 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Tue, 21 May 2024 09:24:33 +0300 Subject: [PATCH] podman: set CONTAINER_HOST at work --- modules/profiles/desktop/default.nix | 2 -- shared/work/default.nix | 6 ++++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/profiles/desktop/default.nix b/modules/profiles/desktop/default.nix index b4bb475..4bdd708 100644 --- a/modules/profiles/desktop/default.nix +++ b/modules/profiles/desktop/default.nix @@ -100,8 +100,6 @@ in { virtualisation.podman = { enable = true; - dockerCompat = true; - dockerSocket.enable = true; extraPackages = [pkgs.zfs]; }; diff --git a/shared/work/default.nix b/shared/work/default.nix index 7947781..3efeac8 100644 --- a/shared/work/default.nix +++ b/shared/work/default.nix @@ -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 = {