nixos/guix: set proxy env vars for guix-daemon (#373948)

This commit is contained in:
Lin Jian
2025-01-27 13:30:13 +08:00
committed by GitHub
+1 -1
View File
@@ -283,7 +283,7 @@ in
# It's similar to Nix daemon so there's no question whether or not this
# should be sandboxed.
systemd.services.guix-daemon = {
environment = serviceEnv;
environment = serviceEnv // config.networking.proxy.envVars;
script = ''
exec ${lib.getExe' package "guix-daemon"} \
--build-users-group=${cfg.group} \