nixos/guix: set proxy env vars for guix-daemon

This commit is contained in:
Lin Jian
2025-01-15 15:17:02 +08:00
parent 79fb36c527
commit 370ac8df3e
+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} \