diff --git a/nixos/modules/config/networking.nix b/nixos/modules/config/networking.nix index b908f95df17..77e55fddf69 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