Refactor base NSS setup from local system.