auto-upgrade: add proxy support

Add the proxy variables so that auto upgrade works behind a proxy.
This commit is contained in:
Pascal Bach 2017-08-22 10:32:13 +02:00 committed by Franz Pletz
parent 322af6d80e
commit 322d0c562c

View File

@ -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 ];