mirror of
https://github.com/elitak/nixos-infect.git
synced 2024-12-22 16:18:29 +03:00
Follow redirects when curling config
This is required when eg the config is stored in a gist
This commit is contained in:
parent
5ef3f953d3
commit
5dbf3d676f
1 changed files with 1 additions and 1 deletions
|
@ -338,7 +338,7 @@ infect() {
|
|||
|
||||
if [[ $NIXOS_CONFIG = http* ]]
|
||||
then
|
||||
curl $NIXOS_CONFIG -o /etc/nixos/configuration.nix
|
||||
curl -L $NIXOS_CONFIG -o /etc/nixos/configuration.nix
|
||||
unset NIXOS_CONFIG
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue