Skip to content

Commit

Permalink
auto-upgrade: add proxy support
Browse files Browse the repository at this point in the history
Add the proxy variables so that auto upgrade works behind a proxy.
  • Loading branch information
bachp authored and fpletz committed Aug 29, 2017
1 parent 322af6d commit 322d0c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/installer/tools/auto-upgrade.nix
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ let cfg = config.system.autoUpgrade; in
environment = config.nix.envVars //
{ inherit (config.environment.sessionVariables) NIX_PATH;
HOME = "/root";
};
} // config.networking.proxy.envVars;

path = [ pkgs.gnutar pkgs.xz.bin config.nix.package.out ];

Expand Down

0 comments on commit 322d0c5

Please sign in to comment.