Shrink partition for another system

Hello, I am new to NixOS and I am trying to shrink partition because I want another one to test another linux distro, Arch this time and it is not possible because read-only filesystem. Is there any solution for that? Thank you all for your time.

Usually I do such things offline - boot a live usb with parted tools.

1 Like

There is possibility to do it in installation proces but I think it will brake the system. I will try it at the end of the week and write here. Thanks.