nixos/podman: pass proxy variables to podman API

This commit is contained in:
Kiskae 2024-02-21 16:29:11 +01:00 committed by GitHub
parent 4c64727a0d
commit fe93ea4e8e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 {