Merge pull request #290449 from Kiskae/patch-2
nixos/podman: pass proxy variables to podman API
This commit is contained in:
commit
b8ec4c1475
1 changed files with 2 additions and 0 deletions
|
@ -216,9 +216,11 @@ in
|
||||||
requires = [ "podman.service" ];
|
requires = [ "podman.service" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.services.podman.environment = config.networking.proxy.envVars;
|
||||||
systemd.sockets.podman.wantedBy = [ "sockets.target" ];
|
systemd.sockets.podman.wantedBy = [ "sockets.target" ];
|
||||||
systemd.sockets.podman.socketConfig.SocketGroup = "podman";
|
systemd.sockets.podman.socketConfig.SocketGroup = "podman";
|
||||||
|
|
||||||
|
systemd.user.services.podman.environment = config.networking.proxy.envVars;
|
||||||
systemd.user.sockets.podman.wantedBy = [ "sockets.target" ];
|
systemd.user.sockets.podman.wantedBy = [ "sockets.target" ];
|
||||||
|
|
||||||
systemd.timers.podman-prune.timerConfig = lib.mkIf cfg.autoPrune.enable {
|
systemd.timers.podman-prune.timerConfig = lib.mkIf cfg.autoPrune.enable {
|
||||||
|
|
Loading…
Reference in a new issue