From fe93ea4e8e83444f5258d0e593420aac71d0d177 Mon Sep 17 00:00:00 2001 From: Kiskae <546681+Kiskae@users.noreply.github.com> Date: Wed, 21 Feb 2024 16:29:11 +0100 Subject: [PATCH] nixos/podman: pass proxy variables to podman API --- nixos/modules/virtualisation/podman/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/modules/virtualisation/podman/default.nix b/nixos/modules/virtualisation/podman/default.nix index 47382f9beab0..db1550a643ed 100644 --- a/nixos/modules/virtualisation/podman/default.nix +++ b/nixos/modules/virtualisation/podman/default.nix @@ -208,9 +208,11 @@ in requires = [ "podman.service" ]; }; + systemd.services.podman.environment = config.networking.proxy.envVars; systemd.sockets.podman.wantedBy = [ "sockets.target" ]; systemd.sockets.podman.socketConfig.SocketGroup = "podman"; + systemd.user.services.podman.environment = config.networking.proxy.envVars; systemd.user.sockets.podman.wantedBy = [ "sockets.target" ]; systemd.timers.podman-prune.timerConfig = lib.mkIf cfg.autoPrune.enable {