diff --git a/nixos-infect b/nixos-infect index 06f0171..0f32763 100644 --- a/nixos-infect +++ b/nixos-infect @@ -382,7 +382,7 @@ infect() { /nix/var/nix/profiles/system/bin/switch-to-configuration boot } -if [ ! -v PROVIDER ]; then +if [ ! -v $PROVIDER ]; then autodetectProvider fi