summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nixos/modules/config/networking.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/config/networking.nix b/nixos/modules/config/networking.nix
index b908f95df17e..77e55fddf693 100644
--- a/nixos/modules/config/networking.nix
+++ b/nixos/modules/config/networking.nix
@@ -177,7 +177,7 @@ in
         };
 
     # Install the proxy environment variables
-    environment.sessionVariables = config.networking.proxy.envVars;
+    environment.sessionVariables = cfg.proxy.envVars;
 
     # The ‘ip-up’ target is started when we have IP connectivity.  So
     # services that depend on IP connectivity (like ntpd) should be