I’ve just installed NixOs 23.11 on a old laptop with only 6Gb of RAM (btw I still didn’t a solution for my sound card) and just realize that with only Thunderbird and Firefox it get exhausted at the speed of light !
The problem is that I didn’t specify any swap partition when installing NixOs (I just ran the default option) so I got a / ext4 partition which take all the space.
How can I “fix” that ?
Usually, I would use a tool like gparted to reduce the size of my partition, and then create a swap, but I assume it doesn’t work like that on NixOs ?
My laptop did already freeze a couple of time because of missing memory space (I assume), so I would be glad to have a solution !
Thanks for your reply @lelgenio .
Will this configuration create the swapfile and automatically resize my main partition ?
I doubt that, or should I manually create the partition (with gparted for example) as I suggested above ?
Ok nice, I didn’t know the swap was not a partition…
You’re right, it’s quite an astonish Os ! To be honest I don’t understand why all the distribution out there don’t use a similar system for managing package and dependencies. It makes such sense !