Make setup script work on nixos