Override your substitutes in the rebuild command itself
nixos-rebuild switch --option substituters "https://cache.nixos.org/" --option extra-substituters ""
Override your substitutes in the rebuild command itself
nixos-rebuild switch --option substituters "https://cache.nixos.org/" --option extra-substituters ""