Switching from Ubuntu to NixOs

How I switched from a regular Ubuntu to NixOs