The digital nomad permit lasts 180 days and can be renewed once, so it covers up to a year. Beyond that you need ordinary residence.